# National ID & Tax ID Validator MCP

> Validates and decodes national ID, tax ID, company number and passport MRZ formats for many countries through a paid API.

Source: https://osinttools.io/tools/national-id-mcp/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Category:** Documents and metadata
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** yes
- **Platforms:** MCP server (local, Python) · via Apify's hosted MCP
- **MCP server:** from the team that runs the service; runs locally
- **Website:** https://github.com/soxoj/national-id-mcp
- **GitHub:** soxoj/national-id-mcp, 6 stars · Python · MIT · last commit 2026-11-17
- **Listed:** Nov 25
- **Last verified by an editor:** Nov 25, 2026

## What it does

This MCP server lets an agent check identity and tax numbers. For each value it returns every ID type the number could be, whether the checksum is correct, the number in its usual printed form, and what the number itself encodes, such as date of birth, sex, region of birth or taxpayer type. It also reads passport, ID card and visa MRZ lines. The README states 279 ID types from 130 countries and territories at the time of writing.

The check is offline arithmetic, not a registry lookup: a valid result means the number is correctly built, not that the document exists or belongs to anyone. Investigators use it when an ID number turns up in a leak, court record or scanned document, to learn which country and document it belongs to and compare the encoded birth date and sex with what is already known. The server is a thin client for the maker's API on RapidAPI or Apify.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.

## Features

- Identifies which country and ID type a number fits
- Checksum verification
- Decodes birth date, sex and region where encoded
- Passport and ID card MRZ check digits
- Optional country or type hint
- Batch input

## Pros

- Covers a wide range of national ID formats
- Turns an unlabeled number into concrete leads
- Open-source client with clear limits documented

## Cons

- Needs your own RapidAPI key or Apify token; calls are billed per ID beyond any free plan
- Format checks only: no registry lookup, so it cannot prove a document is real
- Processes personal identifiers, so handle results under applicable data-protection rules

## When to use it

- Use it when an unknown ID or tax number appears in a document and you need to know its country and what it encodes.
- Use it when you want to check an MRZ or ID number extracted by OCR before relying on it.

## Quick start

Run with uv (set RAPIDAPI_KEY or APIFY_TOKEN):

```
uvx --from git+https://github.com/soxoj/national-id-mcp national-id-mcp
```

## Alternatives


All alternatives to National ID & Tax ID Validator MCP in one table: https://osinttools.io/tools/national-id-mcp/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
