Skip to content
MCP server

Codice Fiscale Subito

Calculate, decode and verify Italian codice fiscale, with historical place codes

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About Codice Fiscale Subito

Codice Fiscale Subito is a free MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.

The server wraps a free JSON API for the Italian tax code. It computes a codice fiscale from surname, name, sex, birth date and birthplace, reads sex, date and municipality back out of an existing code, checks one for format, check character, date, place and optionally name, and looks up cadastral codes for municipalities and foreign states.

Its place data is the distinctive part: 15,354 rows from the ANPR historical archive, covering current municipalities, suppressed ones with validity dates, ceded territories and foreign states with Z codes. Passing a date returns only places valid that day, so a code for Pola in 1940 resolves to G778.

Verification is syntactic. The site says the tool cannot tell whether a code is assigned to a real person; only the Agenzia delle Entrate can confirm that. No data is stored and the API works without a key or registration, with CORS open and a limit of 60 requests per minute per IP.

Install

Run in a terminal

claude mcp add --transport http codice-fiscale https://codicefiscalesubito.it/api/mcp

Add to Settings → Connectors → Add custom connector

https://codicefiscalesubito.it/api/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codice-fiscale": {
      "url": "https://codicefiscalesubito.it/api/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codice-fiscale": {
      "type": "http",
      "url": "https://codicefiscalesubito.it/api/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "codice-fiscale": {
      "serverUrl": "https://codicefiscalesubito.it/api/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codice-fiscale": {
      "type": "http",
      "url": "https://codicefiscalesubito.it/api/mcp"
    }
  }
}

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

compute_codice_fiscale
Computes the code from surname, name, sex, birth date and place.
decode_codice_fiscale
Reads sex, date and municipality from a code.
verify_codice_fiscale
Checks format, check character, date, place and name.
lookup_place
Finds the cadastral code of a municipality or foreign state.

What it does

Compute codes
Builds the code from name, surname, sex, birth date and birthplace, showing each part's rule.
Decode codes
Reads sex, date and municipality back from a code.
Verify codes
Checks format, control character, date, place and optionally name.
Historical places
Looks up cadastral codes valid on a given date, including suppressed municipalities.
No key needed
Free access with open CORS and no registration.

Good for

  • Generate a codice fiscale inside a form assistant
  • Validate codes in a spreadsheet clean-up
  • Find the cadastral code of a municipality that no longer exists
  • Decode the birth data from a code

Pricing

Free

Free, no key; 60 requests per minute per IP.

Prices change. Check codicefiscalesubito.it before you buy.

Codice Fiscale Subito FAQ

Is it free?

Yes, without a key or registration, limited to 60 requests per minute per IP.

Does it confirm a code belongs to a real person?

No. It checks that the code is well-formed and consistent; only the Agenzia delle Entrate can confirm assignment.

Which tools does it expose?

compute_codice_fiscale, decode_codice_fiscale, verify_codice_fiscale and lookup_place.

Does it store my data?

The site says nothing is saved; each request is computed and forgotten.

Is Codice Fiscale Subito free?

Yes. Codice Fiscale Subito is free to use.

How do I add Codice Fiscale Subito to Claude Code?

Run this command in your terminal: claude mcp add --transport http codice-fiscale https://codicefiscalesubito.it/api/mcp

What are the best alternatives to Codice Fiscale Subito?

The closest alternatives to Codice Fiscale Subito are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Codice Fiscale Subito

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools