Skip to content
MCP server

MCP Afip

AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0-alpha.3
Listing updated
5 days ago

About MCP Afip

MCP Afip is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-afip --env AFIP_CERT_PATH='<AFIP_CERT_PATH>' --env AFIP_KEY_PATH='<AFIP_KEY_PATH>' --env AFIP_CUIT='<AFIP_CUIT>' -- npx -y @codespar/mcp-afip

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-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

{
  "mcpServers": {
    "mcp-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 .vscode/mcp.json

{
  "servers": {
    "mcp-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 ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-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 your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-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>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AFIP_CERT_PATHPath to AFIP certificate (.crt)Required
  • AFIP_KEY_PATHPath to AFIP private key (.key)Required
  • AFIP_CUITCUIT numberRequired

Pricing

Open source

MCP Afip FAQ

Is MCP Afip free?

Yes. MCP Afip is open source, so you can use and self-host it for free.

How do I add MCP Afip to Claude Code?

Run this command in your terminal: claude mcp add mcp-afip --env AFIP_CERT_PATH='<AFIP_CERT_PATH>' --env AFIP_KEY_PATH='<AFIP_KEY_PATH>' --env AFIP_CUIT='<AFIP_CUIT>' -- npx -y @codespar/mcp-afip

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers