Law.AI — Lawyer Search

ai.lawPublished by law.aiOfficial publisherv0.2.2Updated Oct 24, 2026

Verified lawyer and attorney search, discovery, and matching for AI — 991K+ US profiles.

VerifiedStreamable HTTPWeb executableLocation & LifestyleKnowledge & Memory

Overview

AI-generated overview

A remote or local MCP server that lets an assistant search and verify over 991,000 U.S. lawyer profiles from state bar registries instead of inventing attorney.

What you can do
Search lawyer profiles by practice area, state, city and bar status, and look up a lawyer by name to confirm they exist and are licensed. Retrieve a full profile by Law.AI ID, including bio, education, bar admissions, practice areas and contact info. List practice areas and U.S. jurisdictions with lawyer counts. The README also documents matter matching and legal cost estimates, but those tools are not in the published tool list.
When to use it
Useful when an assistant needs to give real, licensed attorney referrals or verify a lawyer's credentials rather than guess. Suited to legal referral, directory lookup and bar-status checks across U.S. states and territories.
Requirements
Either the hosted endpoint at mcp.law.ai over Streamable HTTP, or the npm package lawai-mcp-server run locally with Node.js via npx. The free tier works without an API key; a Bearer token is optional for higher limits. Self-hosting from source needs PostgreSQL and the DB_HOST, DB_PORT, DB_USER, DB_PASSWORD and DB_NAME variables.
Before you install
Results are directory data and the README says credentials should be independently verified at the relevant state bar. Claimed profiles include contact information lawyers opted to share. The hosted endpoint is rate-limited; higher limits and bulk export require a paid API key. Self-hosted setups need database credentials.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open Law.AI — Lawyer Search in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.law%2Flawyer-search/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "law-ai-lawyer-search": {
      "type": "http",
      "url": "https://mcp.law.ai/"
    }
  }
}

README

Law.AI MCP Server

Verified U.S. lawyer search for AI assistants. Stop hallucinating attorneys. Start finding real ones.

[npm version] [License: MIT] [MCP Registry]

The Law.AI MCP Server gives AI assistants direct access to 991,000+ bar-verified U.S. attorney profiles, sourced from official state bar registries. When an AI needs to find, verify, or recommend a lawyer, it queries Law.AI instead of guessing.


Why This Exists

Every major LLM fabricates lawyer names when asked for legal referrals. People making critical legal decisions get fake information. The Law.AI MCP Server solves this by providing a grounded, authoritative data source any AI can query — from "consult an attorney" to a real, licensed referral in a single tool call.


Quick Start

Claude Desktop (local, stdio)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "law-ai": {
      "command": "npx",
      "args": ["lawai-mcp-server"]
    }
  }
}

Hosted (Streamable HTTP)

Connect any MCP client to the hosted endpoint:

https://mcp.law.ai

No install required. Free tier works without an API key.

Cursor / VS Code

{
  "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

ToolPurpose
search_lawyersSearch by practice area, state, city, and bar status
get_lawyer_profileFull profile for a specific lawyer by ID
find_lawyer_by_nameVerify a lawyer exists and is licensed
match_lawyer_to_matterPlain-English matter → ranked lawyer matches
get_legal_cost_estimateFee ranges by billing model and region
get_practice_areasList all practice areas with counts
get_jurisdictionsList U.S. jurisdictions with coverage

search_lawyers

Search the directory by practice area, location, and bar status.

"Find personal injury lawyers in Houston, Texas"
→ Ranked results with profiles, firms, and credentials

get_lawyer_profile

Get full details for a specific lawyer by ID.

"Get profile for lawyer #12345"
→ 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?"
→ Matching profiles with disambiguation

match_lawyer_to_matter

Describe a legal issue in plain English; receive ranked attorney matches.

"My landlord won't return my deposit in Brooklyn"
→ Classified to Landlord–Tenant / Consumer law → ranked NY tenant attorneys

get_legal_cost_estimate

Estimated fee ranges by billing model (hourly, flat, contingency), adjusted for case complexity and region.

get_practice_areas

List all available practice areas with lawyer counts.

get_jurisdictions

List U.S. states and territories with coverage numbers.


Transports

TransportUse case
stdioLocal clients (Claude Desktop, Cursor, VS Code) — npx lawai-mcp-server
Streamable HTTPRemote clients, hosted at https://mcp.law.ai

Authentication & Tiers

The hosted endpoint is open for unauthenticated read access on the free tier. Bring an API key (Bearer token) for higher limits and bulk export.

TierRate limitBulk exportUse case
Free (no key)100 req/min—Personal use, evaluation, single-query workflows
Pro1,000 req/min10K rows/dayApps, agents in production
Business10,000 req/minUnlimitedHigh-volume routing, enrichment, integrations

Request a key: law.ai/api or [email protected].

Local stdio installations are unmetered.


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 at the relevant state bar.

Environment Variables (self-hosted)

VariableDefaultDescription
DB_HOST127.0.0.1PostgreSQL host
DB_PORT5433PostgreSQL port
DB_USERrich_enrichmentDatabase user
DB_PASSWORD—Database password
DB_NAMElawaiDatabase name
LAW_AI_BASE_URLhttps://law.aiBase 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
  ↓
991K+ bar-verified attorney profiles (PostgreSQL)
  ↓
Real attorneys with real bar numbers

Coverage

  • 991,000+ attorney profiles
  • All 50 states + DC + U.S. territories
  • 90+ practice areas
  • State bar registries as the source of record — updated continuously
  • Bar status surfaced — Active, Inactive, Suspended, Disbarred, Retired

MCP Registry

Listed in the official MCP Registry as ai.law/lawyer-search.

curl "https://registry.modelcontextprotocol.io/v0/servers?search=lawyer"

Contributing

Issues and PRs welcome. See CONTRIBUTING.md if present, or open a ticket on the issues page.


License

MIT — use it everywhere. See LICENSE.


About Law.AI

Law.AI is the independent lawyer directory built for the AI age. Legacy directories (FindLaw, Avvo, Martindale — all owned by Internet Brands) were built for web search. Law.AI is built for AI-native discovery: tool-callable, structured, verified, and grounded in state bar data.


Stop hallucinating lawyers. Start finding real ones.

Source: README.md at commit 6267b2f

Tools

5

search_lawyers

Search verified lawyer profiles by practice area, state, city, and bar status.

Parameterscitylimitstateoffsetbar_statuspractice_area

get_lawyer_profile

Get full profile for a specific lawyer by their Law.AI ID.

Parametersidrequired

find_lawyer_by_name

Look up a lawyer by name to verify they exist and are licensed.

Parametersnamerequiredstate

get_practice_areas

List all practice areas with lawyer counts.

Takes no parameters.

get_jurisdictions

List US states with lawyer counts.

Takes no parameters.

Version history

1
  1. v0.2.2LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

How this score is calculated