Skip to content
appsgit

Codespar Afip

Codespar Afip is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica). It has 272 GitHub stars, is released under the MIT license and runs locally with npx -y @codespar/mcp-afip.

github.com/codespar/mcp-dev-latam (opens in a new tab)

  • Needs API key
  • Other
  • MIT
  • Actively maintained

Install Codespar Afip

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "codespar-afip": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-afip"
      ],
      "env": {
        "AFIP_CERT_PATH": "your-value",
        "AFIP_KEY_PATH": "your-value",
        "AFIP_CUIT": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env AFIP_CERT_PATH=your-value --env AFIP_KEY_PATH=your-value --env AFIP_CUIT=your-value --transport stdio codespar-afip -- npx -y @codespar/mcp-afip

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "codespar-afip": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-afip"
      ],
      "env": {
        "AFIP_CERT_PATH": "your-value",
        "AFIP_KEY_PATH": "your-value",
        "AFIP_CUIT": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "afip_key_path",
      "description": "AFIP_KEY_PATH",
      "password": true
    }
  ],
  "servers": {
    "codespar-afip": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-afip"
      ],
      "env": {
        "AFIP_CERT_PATH": "your-value",
        "AFIP_KEY_PATH": "${input:afip_key_path}",
        "AFIP_CUIT": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
AFIP_CERT_PATHYesPath to AFIP certificate (.crt)
AFIP_KEY_PATHsecretYesPath to AFIP private key (.key)
AFIP_CUITYesCUIT number

About Codespar Afip

MCP server for AFIP, the Argentine tax authority (Administracion Federal de Ingresos Publicos), for electronic invoicing (Factura Electronica) with CAE authorization

  • agentic-commerce
  • ai-agents
  • brazil
  • claude
  • fintech
  • latin-america
  • llm-tools
  • mcp
  • model-context-protocol
  • nfe

FAQ

Codespar Afip FAQ

Still curious? Email info@appsgit.com.

What is Codespar Afip?

Codespar Afip is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica). It has 272 GitHub stars, is released under the MIT license and runs locally with npx -y @codespar/mcp-afip. The source code is at github.com/codespar/mcp-dev-latam.

How do I install the Codespar Afip MCP server?

Add the command npx -y @codespar/mcp-afip to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Codespar Afip free?

The server is open source under the MIT license, so running it is free. It needs credentials (AFIP_KEY_PATH) for the service it connects to, which may require a paid account.

Is Codespar Afip actively maintained?

The most recent commit was on Sep 27, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.