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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/risk-ai/lawai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server