Law.AI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | PostgreSQL host | 127.0.0.1 |
| DB_NAME | No | Database name | lawai |
| DB_PORT | No | PostgreSQL port | 5433 |
| DB_USER | No | Database user | rich_enrichment |
| DB_PASSWORD | Yes | Database password | |
| LAW_AI_BASE_URL | No | Base URL for profile links | https://law.ai |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_lawyersA | Search 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. |
| get_lawyer_profileA | Get 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). |
| find_lawyer_by_nameA | Look up a specific lawyer by name. Useful for verifying if a lawyer exists and is properly licensed. Handles common names with disambiguation by location. |
| get_practice_areasA | List all practice areas available in the Law.AI directory with lawyer counts. Useful for discovering what types of lawyers are available. |
| get_jurisdictionsA | List US states and jurisdictions with lawyer counts. Shows where Law.AI has coverage. |
| match_lawyer_to_matterA | Describe 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. |
| get_legal_cost_estimateA | Get 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: searching, profiling, name lookup, practice areas, jurisdictions, natural language matching, and cost estimation. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., search_lawyers, get_lawyer_profile). No deviations.
7 tools is well-scoped for a legal directory and matching service, covering search, profile, lookup, metadata, matching, and cost estimates without being too many or too few.
The tool set comprehensively covers the domain: finding lawyers by search, name, or natural language; retrieving profiles; exploring practice areas and jurisdictions; and estimating costs. No obvious gaps.