Nexus Legal — Model Context Protocol server. Multi-jurisdictional legal analysis (ES + LatAm + EU) with 11 tools for Claude Desktop, Claude Code, Cursor and other MCP clients.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add nexus-legal --env NEXUS_API_KEY='<NEXUS_API_KEY>' -- npx -y @nexus-legal/mcp~/.codex/config.toml
[mcp_servers.nexus-legal]
command = "npx"
args = ["-y", "@nexus-legal/mcp"]
env = { NEXUS_API_KEY = "<NEXUS_API_KEY>" }
# codex mcp add nexus-legal --env NEXUS_API_KEY='<NEXUS_API_KEY>' -- npx -y @nexus-legal/mcp~/.cursor/mcp.json
{
"mcpServers": {
"nexus-legal": {
"command": "npx",
"args": [
"-y",
"@nexus-legal/mcp"
],
"env": {
"NEXUS_API_KEY": "<NEXUS_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nexus-legal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nexus-legal/mcp"
],
"env": {
"NEXUS_API_KEY": "<NEXUS_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nexus-legal": {
"command": "npx",
"args": [
"-y",
"@nexus-legal/mcp"
],
"env": {
"NEXUS_API_KEY": "<NEXUS_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nexus-legal": {
"command": "npx",
"args": [
"-y",
"@nexus-legal/mcp"
],
"env": {
"NEXUS_API_KEY": "<NEXUS_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nexus-legal": {
"command": "npx",
"args": [
"-y",
"@nexus-legal/mcp"
],
"env": {
"NEXUS_API_KEY": "<NEXUS_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http nexus-legal https://legal.nexusquantum.legal/api/mcp~/.codex/config.toml
[mcp_servers.nexus-legal]
url = "https://legal.nexusquantum.legal/api/mcp"
# codex mcp add nexus-legal --url https://legal.nexusquantum.legal/api/mcp~/.cursor/mcp.json
{
"mcpServers": {
"nexus-legal": {
"url": "https://legal.nexusquantum.legal/api/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"nexus-legal": {
"type": "http",
"url": "https://legal.nexusquantum.legal/api/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nexus-legal": {
"httpUrl": "https://legal.nexusquantum.legal/api/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"nexus-legal": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://legal.nexusquantum.legal/api/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"nexus-legal": {
"url": "https://legal.nexusquantum.legal/api/mcp"
}
}
}Environment variables
NEXUS_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.