About legal-mcp-server
legal-mcp-server provides search tools for US court records, patents, and trademark registrations. It is intended for legal research and forwards requests through a local stdio bridge to nexgendata’s Apify MCP endpoint.
Key features
- 01Search US court records by name, case, or jurisdiction
- 02Search patent databases
- 03Search trademark registrations
- 04Forward requests to the Apify MCP endpoint
Use cases
- 01Find court records by case number or party name
- 02Research patents related to inventions or IP
- 03Check trademark registrations
MCP support
Exposes court-record, patent, and trademark search tools to MCP clients. It runs as a local stdio bridge that forwards requests to the nexgendata Apify MCP endpoint.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @thenextgennexus/legal-mcp-serverAPIFY_TOKENSecretYour Apify API token for accessing web scraping actorsLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search query |
| state | string | No | US state abbreviation |
| maxItems | number | No | Maximum results |
Details
From the project READMELegal Research MCP Server
Search court records, patents, and trademarks for legal research — powered by nexgendata on Apify.
Quick Start
Using npx (recommended)
npx @nexgendata/legal-mcp-server
Install globally
npm install -g @nexgendata/legal-mcp-server
Configure with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"legal-mcp-server": {
"command": "npx",
"args": [
"-y",
"@nexgendata/legal-mcp-server"
],
"env": {
"APIFY_TOKEN": "your-apify-token-optional"
}
}
}
}
Configure with Cline
Add the same configuration to your Cline MCP settings.
Available Tools
| Tool | Description |
|---|---|
search_court_records | Search US court records by name, case number, or jurisdiction |
search_patents | Search patent databases for inventions and IP |
search_trademarks | Search trademark registrations |
Environment Variables
| Variable | Required | Description |
|---|---|---|
APIFY_TOKEN | No | Your Apify API token for authenticated access. Without it, the server uses the public endpoint (rate-limited). |
How It Works
This MCP server acts as a local stdio bridge to the nexgendata Apify MCP endpoint. When you call a tool, it forwards the request to Apify and returns the results.
Links
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.