AI-powered legal advocate for NYC tenants. Describe your housing situation in plain English (or speak it in your language), and Counsel instantly analyzes your legal rights, pulls real-time building violation data, generates a formal complaint letter, and creates a step-by-step action plan.
- Legal Rights Analysis — Claude analyzes your situation against NYC housing law (Warranty of Habitability, Rent Stabilization, anti-harassment protections, and more) and identifies specific violations with law citations
- Building Intelligence — Linkup API searches for real-time HPD violations, complaints, and landlord history for your building
- Action Plan — Step-by-step timeline with deadlines, agencies to contact, and filing instructions
- Complaint Letter Generator — Produces a formal, legally-grounded complaint letter addressed to the right party. Fully editable in-browser with PDF download and copy-to-clipboard
- Multilingual Voice Input — BizCrush WebSocket STT integration supports 11 languages with real-time transcription. Speak in Spanish, Mandarin, Arabic, Korean, and more
- Frontend: Next.js (App Router) + Tailwind CSS + Framer Motion
- AI: Anthropic Claude API (claude-sonnet-4-20250514)
- Search: Linkup API for real-time building data
- Voice: BizCrush WebSocket STT (live streaming, multilingual)
- PDF: jsPDF for client-side letter export
-
Clone the repo:
git clone https://github.com/TenSae/counsel.git cd counsel -
Install dependencies:
npm install
-
Create
.env.localwith your API keys:ANTHROPIC_API_KEY=your_key LINKUP_API_KEY=your_key NEXT_PUBLIC_BIZCRUSH_API_KEY=your_key -
Run the dev server:
npm run dev
Counsel is an informational tool and does not constitute legal advice. Always consult a licensed attorney for legal matters.