
Afip MCP Server
by codespario.github.codespar/mcp-afipv0.2.0-alpha.3
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Afip MCP server
Install in Claude Code
claude mcp add afip -e AFIP_CERT_PATH='<afip-cert-path>' -e AFIP_KEY_PATH='<afip-key-path>' -e AFIP_CUIT='<afip-cuit>' -- npx -y @codespar/mcp-afipInstall in Cursor
{
"mcpServers": {
"afip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-afip"
],
"env": {
"AFIP_CERT_PATH": "<afip-cert-path>",
"AFIP_KEY_PATH": "<afip-key-path>",
"AFIP_CUIT": "<afip-cuit>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"afip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-afip"
],
"env": {
"AFIP_CERT_PATH": "<afip-cert-path>",
"AFIP_KEY_PATH": "<afip-key-path>",
"AFIP_CUIT": "<afip-cuit>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"afip": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-afip"
],
"env": {
"AFIP_CERT_PATH": "<afip-cert-path>",
"AFIP_KEY_PATH": "<afip-key-path>",
"AFIP_CUIT": "<afip-cuit>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"afip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-afip"
],
"env": {
"AFIP_CERT_PATH": "<afip-cert-path>",
"AFIP_KEY_PATH": "<afip-key-path>",
"AFIP_CUIT": "<afip-cuit>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| AFIP_CERT_PATH | yes | — | Path to AFIP certificate (.crt) |
| AFIP_KEY_PATH | yes | yes | Path to AFIP private key (.key) |
| AFIP_CUIT | yes | — | CUIT number |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 13d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 4mo ago · official registry · v0.2.0-alpha.3
FAQ
›How do I install the Afip MCP server in Claude Code?
Run: claude mcp add afip -e AFIP_CERT_PATH='<afip-cert-path>' -e AFIP_KEY_PATH='<afip-key-path>' -e AFIP_CUIT='<afip-cuit>' -- npx -y @codespar/mcp-afip. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Afip require an API key?
Yes. It expects AFIP_CERT_PATH, AFIP_KEY_PATH, AFIP_CUIT, of which 1 is a secret.
›Can I use Afip as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Afip in the official MCP registry?
Yes, as io.github.codespar/mcp-afip.