# Codice Fiscale Subito

> Codice Fiscale Subito is a free MCP server for legal and government. Calculate, decode and verify Italian codice fiscale, with historical place codes. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://codicefiscalesubito.it/api-codice-fiscale/
- **MCP Registry name:** it.codicefiscalesubito/codice-fiscale
- **Categories:** legal and government, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://codicefiscalesubito.it/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "codice-fiscale": {
      "url": "https://codicefiscalesubito.it/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/codice-fiscale-subito
