mcpField
L
legal-mcp-server

legal-mcp-server

Local
github.com/TheNextGenNexusLegal & Government0Updated 36w ago

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

  1. 01Search US court records by name, case, or jurisdiction
  2. 02Search patent databases
  3. 03Search trademark registrations
  4. 04Forward requests to the Apify MCP endpoint

Use cases

  1. 01Find court records by case number or party name
  2. 02Research patents related to inventions or IP
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"thenextgennexus-legal": {
"command": "npx",
"args": [
"-y",
"@thenextgennexus/legal-mcp-server"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Run commandnpx -y @thenextgennexus/legal-mcp-server
Environment variables to set
APIFY_TOKENSecretYour Apify API token for accessing web scraping actors

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@thenextgennexus/legal-mcp-server1.0.1

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
querystringYesSearch query
statestringNoUS state abbreviation
maxItemsnumberNoMaximum results

Details

From the project README

Legal 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

ToolDescription
search_court_recordsSearch US court records by name, case number, or jurisdiction
search_patentsSearch patent databases for inventions and IP
search_trademarksSearch trademark registrations

Environment Variables

VariableRequiredDescription
APIFY_TOKENNoYour 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

Markdown supported

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.