Law.AI — Lawyer Search

ai.law由 law.ai 發布官方發布者v0.2.2更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行位置與生活知識與記憶

概覽

AI 產生的概覽

一個遠端或本機 MCP 伺服器,讓助理搜尋並核實來自州律師公會登記的 99.1 萬多份美國律師資料,而不是憑空編造律師。

可以做什麼
依執業領域、州、城市和律師執照狀態搜尋律師資料,並依姓名查詢以確認律師存在且領有執照。依 Law.AI ID 取得完整資料,包括簡介、教育背景、律師資格、執業領域和聯絡資訊。列出各執業領域及美國各司法管轄區的律師數量。README 另提到案件媒合和費用估算,但這些工具不在已公布的清單中。
適用情境
適合助理需要提供真實、領有執照的律師推薦,或核實律師資格而非猜測時使用。適用於法律轉介、律師名錄查詢,以及美國各州和屬地的執照狀態查核。
執行需求
可使用 mcp.law.ai 的託管端點(Streamable HTTP),或以 Node.js 透過 npx 在本機執行 npm 套件 lawai-mcp-server。免費方案不需 API 金鑰;Bearer 權杖為選用,用於提高額度。從原始碼自行架設需要 PostgreSQL 以及 DB_HOST、DB_PORT、DB_USER、DB_PASSWORD 和 DB_NAME 變數。
安裝前請注意
結果為名錄資料,README 說明應向相關州律師公會獨立核實資格。已認領的資料包含律師選擇公開的聯絡資訊。託管端點有速率限制;更高額度與批次匯出需要付費 API 金鑰。自行架設需要資料庫憑證。

AI 概覽如何產生和驗證

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Law.AI — Lawyer Search,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.law%2Flawyer-search/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

來源:README.md,提交 6267b2f

工具

5

search_lawyers

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

輸入參數citylimitstateoffsetbar_statuspractice_area

get_lawyer_profile

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

輸入參數id必填

find_lawyer_by_name

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

輸入參數name必填state

get_practice_areas

List all practice areas with lawyer counts.

無需輸入參數。

get_jurisdictions

List US states with lawyer counts.

無需輸入參數。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

這個評分如何計算