I

It Eli MCP

by matematicsolutions · io.github.matematicsolutions/it-eli-mcp

An MCP server for Italian law, enabling live access to legislation via Normattiva and case law from the Constitutional Court, Supreme Court, and administrative courts, with citation verification.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-matematicsolutions-it-eli-mcp": {
      "command": "uvx",
      "args": [
        "italy-eli-mcp"
      ],
      "env": {
        "IT_ELI_BASE_URL": "https://www.normattiva.it",
        "IT_ELI_AUDIT_DIR": "~/.matematic/audit",
        "IT_ELI_CACHE_DIR": "~/.matematic/cache/it-eli",
        "IT_ELI_CASELAW_DB": "~/.matematic/data/it-eli-caselaw/cost.sqlite",
        "IT_ELI_CASELAW_AUTOBUILD": "<VALUE>",
        "IT_ELI_CASELAW_INDEX_URL": "the GitHub release asset",
        "IT_ELI_CASELAW_INDEX_SHA256": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
IT_ELI_BASE_URL No Base URL for Normattiva (default https://www.normattiva.it) Default: https://www.normattiva.it
IT_ELI_AUDIT_DIR No Audit log directory (default ~/.matematic/audit) Default: ~/.matematic/audit
IT_ELI_CACHE_DIR No Cache directory (default ~/.matematic/cache/it-eli) Default: ~/.matematic/cache/it-eli
IT_ELI_CASELAW_DB No Constitutional case-law index path (default ~/.matematic/data/it-eli-caselaw/cost.sqlite) Default: ~/.matematic/data/it-eli-caselaw/cost.sqlite
IT_ELI_CASELAW_AUTOBUILD No Set to '0' to skip automatic local build
IT_ELI_CASELAW_INDEX_URL No Pre-built index download URL (default: the GitHub release asset; empty string disables) Default: the GitHub release asset
IT_ELI_CASELAW_INDEX_SHA256 No Pin the expected index checksum instead of fetching the .sha256 sidecar

Similar servers