About Law.AI — Lawyer Search
Law.AI — Lawyer Search is an MCP server published by risk-ai in the Search category: verified lawyer identity search and discovery for AI — 991K+ bar-verified US attorneys.
Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/risk-ai/lawai-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (7)
find_lawyer_by_nameLook up a specific lawyer by name. Useful for verifying if a lawyer exists and is properly licensed. Handles common names with disambiguation by location.
Parameters not published.
get_jurisdictionsList US states and jurisdictions with lawyer counts. Shows where Law.AI has coverage.
Parameters not published.
get_lawyer_profileGet the full profile of a specific lawyer by their Law.AI ID. Returns detailed information including bio, education, bar admissions, practice areas, and contact info (for claimed profiles).
Parameters not published.
get_legal_cost_estimateGet estimated legal costs for a type of legal issue. Returns fee ranges by billing structure (hourly, flat fee, contingency), adjusted for case complexity and region. Complexity is the primary cost driver.
Parameters not published.
get_practice_areasList all practice areas available in the Law.AI directory with lawyer counts. Useful for discovering what types of lawyers are available.
Parameters not published.
match_lawyer_to_matterDescribe a legal issue in plain English and get matched with relevant lawyers. The tool classifies the issue into practice areas and returns ranked lawyer matches based on relevance, credentials, and location.
Parameters not published.
search_lawyersSearch the Law.AI directory of 537,000+ verified lawyer profiles. Filter by practice area, state, city, and bar status. Returns ranked results with claimed/verified profiles first.
Parameters not published.
Ask AI
Ask AI about Law.AI — Lawyer Search
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Law.AI MCP Server
Find real, verified lawyers through any AI assistant. No hallucinations, just facts.
The Law.AI MCP Server gives AI assistants direct access to 537,000+ verified lawyer profiles across all 50 US states. When an AI needs to find, verify, or recommend a lawyer, it queries Law.AI instead of guessing.
Why This Exists
Every major AI model fabricates lawyer names when asked for legal referrals. This is dangerous — people making critical legal decisions get fake information. The Law.AI MCP Server solves this by providing a grounded, authoritative data source that any AI can query.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"law-ai": {
"command": "npx",
"args": ["lawai-mcp-server"]
}
}
}
Remote (HTTP Transport)
Connect to the hosted endpoint:
https://mcp.law.ai/mcp
Cursor / VS Code
Add to your MCP settings:
{
"law-ai": {
"command": "npx",
"args": ["lawai-mcp-server"]
}
}
From Source
git clone https://github.com/risk-ai/lawai-mcp-server.git
cd lawai-mcp-server
npm install
npm run build
npm start
Available Tools
search_lawyers
Search the directory by practice area, location, and bar status.
"Find personal injury lawyers in Houston, Texas"
→ Returns ranked results with profiles, firms, and credentials
get_lawyer_profile
Get full details for a specific lawyer by ID.
"Get profile for lawyer #12345"
→ Returns bio, education, bar admissions, practice areas, contact info
find_lawyer_by_name
Look up a lawyer by name to verify they exist and are licensed.
"Is there a lawyer named Jane Smith in New York?"
→ Returns matching profiles with disambiguation
get_practice_areas
List all available practice areas with lawyer counts.
get_jurisdictions
List US states and territories with coverage numbers.
Data Privacy
- Unclaimed profiles: Public bar information only (name, location, practice areas, bar status)
- Claimed profiles: Additional contact information the lawyer has opted to share
- No scraping: Rate-limited to prevent data harvesting
- Disclaimers included: All results note that credentials should be independently verified
Environment Variables
| Variable | Default | Description |
|---|---|---|
DB_HOST |
127.0.0.1 |
PostgreSQL host |
DB_PORT |
5433 |
PostgreSQL port |
DB_USER |
rich_enrichment |
Database user |
DB_PASSWORD |
— | Database password |
DB_NAME |
lawai |
Database name |
LAW_AI_BASE_URL |
https://law.ai |
Base URL for profile links |
How It Works
User: "Find me a patent attorney in San Francisco"
↓
AI Assistant (Claude, GPT, etc.)
↓
MCP Protocol
↓
Law.AI MCP Server
↓
537K+ verified lawyer profiles (PostgreSQL)
↓
Real attorneys with real bar numbers
Coverage
- 537,000+ lawyer profiles
- 454,000+ active lawyers
- All 50 states + DC
- 90+ practice areas
- 92,000+ with verified email addresses
- Data sourced from state bar associations, court records, and public filings
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
License
MIT — use it everywhere.
About Law.AI
Law.AI is the independent lawyer directory built for the AI age. While legacy directories (FindLaw, Avvo, Martindale) were built for web search, Law.AI is built for AI-native discovery.
Stop hallucinating lawyers. Start finding real ones.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.