Skatteverket Test Personnummer MCP Server
jaggeman/skatteverket-testpersonnummer-mcp-server
Acesso a números de identidade suecos oficiais para testes e desenvolvimento
Ver no GitHubMCP server que conecta Claude a um dataset oficial de números de identidade pessoal sueca (testpersonnummer) publicado pela Skatteverket. Fornece acesso a 43.895 números de teste para desenvolvimento e testes de software, sem necessidade de chave de API.
Instalação
npx convez-ai jaggeman/skatteverket-testpersonnummer-mcp-server1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Gerar dados de teste realistas para sistemas suecos
- Validar e parsear números de identificação pessoal suecos
- Popular datasets de teste para desenvolvimento de software
Veredito

MCP server bem estruturado para acesso a dataset oficial sueco. Útil principalmente para devs que trabalham com sistemas suecos, mas público restrito geograficamente. Implementação limpa e sem dependências externas.
README
A tradução para o português deste README ainda está na fila.
skatteverket-testpersonnummer-mcp-server
An MCP (Model Context Protocol) server that gives AI assistants like Claude access to Skatteverket's official Swedish test personal numbers dataset.
Contains 43,895 official test personnummer — fake Swedish personal identity numbers published by the Swedish Tax Agency for use in software development and testing.
No API key required. CC0 license (Public Domain).
Tools
skatteverket_search_testpersonnummer
Search or list test personal numbers with optional regex filtering and pagination.
| Parameter | Type | Default | Description |
|---|---|---|---|
pattern | string | — | Regex filter on the 12-digit number. Optional. |
limit | number | 20 | Results per page (max 500) |
offset | number | 0 | Pagination offset |
response_format | markdown | json | markdown | Output format |
Pattern examples:
^1985 → born in 1985
^199001 → born January 1990
^19[5-6] → born 1950-1969
skatteverket_parse_testpersonnummer
Parse any Swedish personnummer (10- or 12-digit) and extract birth date, gender, and birth number. No API call needed — pure local parsing.
Installation
Requirements
- Node.js v18 or later
- Claude Desktop (or any MCP-compatible client)
Step 1 — Clone and build
git clone https://github.com/jaggeman/skatteverket-testpersonnummer-mcp-server
cd skatteverket-testpersonnummer-mcp-server
npm install
npm run build
Step 2 — Add to Claude Desktop
Important: Claude Desktop overwrites its config file while running. You must close it completely before editing, otherwise your changes will be lost.
Windows:
- Quit Claude Desktop fully — right-click the tray icon → Quit (not just close the window)
- Open the config file in Notepad by running this in PowerShell or the Run dialog (
Win+R):notepad %APPDATA%\Claude\claude_desktop_config.json - Add the new server inside the
"mcpServers"block. Example of a complete file:
Replace{ "mcpServers": { "skatteverket-testpersonnummer": { "command": "C:\\Program Files\\nodejs\\node.exe", "args": [ "C:\\Users\\yourname\\skatteverket-testpersonnummer-mcp-server\\dist\\index.js" ] } } }yournameand the path with where you cloned the repo. If you already have other MCP servers, add a comma after the last one and append this block. - Save the file and close Notepad.
macOS:
- Quit Claude Desktop: Claude menu → Quit Claude
- Open Terminal and run:
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json" - Add the server the same way as above, using your actual path:
{ "mcpServers": { "skatteverket-testpersonnummer": { "command": "node", "args": [ "/Users/yourname/skatteverket-testpersonnummer-mcp-server/dist/index.js" ] } } } - Save and close.
Can't find the file? If the file doesn't exist yet, create it — Claude Desktop will pick it up on next launch. Make sure the folder
Claudeexists insideAppData\Roaming(Windows) orApplication Support(macOS).
Step 3 — Restart Claude Desktop
Start Claude Desktop again. The tools skatteverket_search_testpersonnummer and skatteverket_parse_testpersonnummer will now be available — you'll see a hammer icon in the chat input field.
Usage examples
Get 10 test numbers for people born in the 1990s:
"Give me 10 test personnummer for people born in the 1990s"
Find test numbers born on a specific date:
"Find all test personnummer for January 1, 1985"
Parse a specific personnummer:
"What is the birth date and gender for personnummer 198501012382?"
Get numbers for testing age verification (born 18+ years ago):
"Give me test personnummer for people born before 2007"
Data source
| Field | Value |
|---|---|
| Publisher | Skatteverket (Swedish Tax Agency) |
| License | CC0 1.0 — Public Domain |
| Last updated | 2025-12-16 |
| Records | 43,895 |
| API | Swagger docs |