Facturapi MCP server

Read customers, invoices and receipts; create customers, products and draft invoices in Facturapi. Hosted by usefulapi: connect it to Claude, ChatGPT, Cursor or any MCP client.

Connect Facturapi50 free tool calls a month

What can I ask?

Turn on the Facturapi connector, then ask in plain words. The AI picks the tools.

What you can do with Facturapi in Claude and ChatGPT

For Mexican businesses that issue CFDI invoices with Facturapi.

Find invoices and their totals

Filter invoices by date range, customer or payment status. Open one invoice for its SAT UUID, items and totals.

Look up a customer and its tax details

Search or list customers. Open one customer for its RFC, tax system and address.

Find the catalog keys for a product

Search the SAT product and service key catalog and the unit key catalog. List the products you already have before adding one.

Get the PDF or XML file of an invoice

Get a temporary download link for an invoice as PDF or XML. Open the invoice for its status and cancellation state.

Review e-receipts before invoicing them

List e-receipts by date range or customer. Open one receipt for its items, total and whether it was invoiced.

Create a customer and a draft invoice

Create a customer record. Then create a draft invoice for that customer. A draft is not stamped and not sent to the SAT.

Changes data

How do I connect Facturapi?

Before you connect

The login page asks for your Facturapi secret key.

Use a sk_test_ key to try things out, or a sk_live_ key for real invoices. Find the keys in your Facturapi dashboard under the organization's API keys. Account keys (sk_user_) are not accepted. The key is used only to call the API on your behalf and to derive a private account id.

Claude claude.ai · Desktop

Add to Claude
or add it manually

Open Customize → Connectors → + Add → Add custom connector, then enter the name Facturapi and this URL:

https://facturapi.usefulapi.io/mcp

The Claude Free plan allows one custom connector.

  1. In the dialog, click Continue, keep the detected options and confirm.
  2. Claude opens the login page: enter your Facturapi secret key.
  3. In a chat, click + → Connectors and turn on Facturapi.

Team and Enterprise: an Owner adds it for the organization first.

ChatGPT chatgpt.com

  1. Open Plugins, click +, then Add custom MCP server.
  2. Enter the name Facturapi and this URL, choose OAuth as the authentication, confirm the warning and create it:
    https://facturapi.usefulapi.io/mcp
  3. ChatGPT opens the login page: enter your Facturapi secret key.
  4. In Plugins, install Facturapi, then choose it in a chat.

No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.

Perplexity perplexity.ai · Mac

  1. Open Plugins in the sidebar, then Add custom → Add MCP connector (Mac app: Add custom → Connector → Add MCP connector) and select Remote.
  2. Enter the name Facturapi and this URL. Under Advanced, choose OAuth and Streamable HTTP:
    https://facturapi.usefulapi.io/mcp
  3. Select the risk checkbox, then Add.
  4. Select the Facturapi card. Perplexity opens the login page: enter your Facturapi secret key.

Custom connectors need Perplexity Pro, Max or Enterprise. Enterprise: an admin adds it in Organization settings → Connectors and turns it on.

Claude Code

Run this command, then run /mcp in Claude Code to log in:

claude mcp add --transport http facturapi https://facturapi.usefulapi.io/mcp
or install it as a plugin

Add the usefulapi plugin marketplace once, then install Facturapi from it. Run /mcp to log in.

claude plugin marketplace add https://usefulapi.io/claude/marketplace.json
claude plugin install facturapi@usefulapi

Cursor

Add to Cursor or add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "facturapi": {
      "url": "https://facturapi.usefulapi.io/mcp"
    }
  }
}

VS Code

Add to VS Code or add this to .vscode/mcp.json:

{
  "servers": {
    "facturapi": {
      "type": "http",
      "url": "https://facturapi.usefulapi.io/mcp"
    }
  }
}

Codex

Run these commands. The second one opens the login page:

codex mcp add facturapi --url https://facturapi.usefulapi.io/mcp
codex mcp login facturapi

Other clients

Windsurf, Cline, Zed and other MCP clients: add this URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser.

https://facturapi.usefulapi.io/mcp

Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Facturapi secret key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Proper user$9/mo · $90/yr10,000 tool calls / month
Pro+per user$39/mo · $390/yr100,000 tool calls / month

Each paid plan covers this Facturapi server only. Ask your AI to run facturapi_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with facturapi_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with facturapi_upgrade before then undoes the cancel. Or write to [email protected].

Tools 19

Show all 19 tools (the AI picks them for you)

Read only · 12

  • Get the organizationfacturapi_get_organization
    Get the organization that owns this API key: legal name, tax id (RFC), tax regime, environment, and settings. Good first call to confirm which company the key controls.
  • List customersfacturapi_list_customers
    Search or list the organization's customers (receivers of invoices) with legal name, RFC, tax system and email.
  • Get a customerfacturapi_get_customer
    Get one customer by id, including RFC, legal name, tax system, address and default invoice use.
  • List productsfacturapi_list_products
    Search or list the organization's products and services (catalog items used on invoices) with description, product key, price, unit and taxes.
  • Get a productfacturapi_get_product
    Get one product by id, including its SAT product key, unit key, price and tax settings.
  • Search SAT product keysfacturapi_search_product_keys
    Search the SAT product and service key catalog (clave prodserv), needed to create a product. Use the returned key as product_key.
  • Search SAT unit keysfacturapi_search_units
    Search the SAT measurement unit catalog (clave unidad), needed for a product's unit_key.
  • List invoicesfacturapi_list_invoices
    List or search CFDI invoices: folio, customer, total, payment status, SAT UUID and date. Filter by date range, customer, type, payment status or series.
  • Get an invoicefacturapi_get_invoice
    Get one invoice by id: status, folio, SAT UUID, customer, items, totals, payment status and cancellation status.
  • Get an invoice download linkfacturapi_get_invoice_download_url
    Get a temporary download URL for an invoice file: PDF, XML or ZIP (PDF and XML).
  • List e-receiptsfacturapi_list_receipts
    List or search e-receipts (non-fiscal sales receipts that a customer can later convert to an invoice). Filter by date range or customer.
  • Get an e-receiptfacturapi_get_receipt
    Get one e-receipt by id, including its items, total, customer and whether it was invoiced.

Changes data · 3

  • Create a customerfacturapi_create_customer
    Create a customer (invoice receiver) with legal name, RFC, SAT tax system and postal code. Creates a record only; nothing is sent or stamped.
  • Create a productfacturapi_create_product
    Create a product or service for invoices, with its SAT product key, price and unit. Use facturapi_search_product_keys and facturapi_search_units first.
  • Create a draft invoicefacturapi_create_draft_invoice
    Create a DRAFT CFDI invoice for an existing customer and existing products. A draft is not stamped and not sent to the SAT; review it in the Facturapi dashboard before stamping there. Facturapi API: POST /invoices with status 'draft'.

Your usefulapi plan · 4

  • Usage status (free-tier meter)facturapi_usage_status
    Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter.
  • Request a missing featurefacturapi_request_feature
    Tell usefulapi that the user needs something the Facturapi tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter.
  • Upgrade to Pro or Pro+facturapi_upgrade
    Get a paid plan for Facturapi (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" ($9/month) or "yearly" ($90/year, 2 months free). Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" ($39/month) or "plus_yearly" ($390/year). Without a plan, a free account gets both Pro and Pro+, each with a payment link, for the user to choose, and a Pro subscriber gets the Pro+ link; with a plan, one link. An existing Pro subscription changes to Pro+ in place: the reply gives a link to Stripe's page, which shows the exact charge (the price difference for the rest of the period; in a free Pro trial the full Pro+ price, as the trial ends) and changes the plan only when the user confirms there. This tool never charges. Cancel any time: the plan then runs to the end of the paid period, so it also suits a one-time job. A link opens Stripe Checkout in the browser; after payment the account upgrades automatically. Does not count against the meter.
  • Cancel the Pro subscriptionfacturapi_cancel_subscription
    Cancel the caller's Facturapi Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run facturapi_upgrade later to undo the cancel before the period ends. Does not count against the meter.

FAQ

What can I do with Facturapi in Claude or ChatGPT?

Find invoices and their totals. Look up a customer and its tax details. Find the catalog keys for a product. Get the PDF or XML file of an invoice. Review e-receipts before invoicing them. Create a customer and a draft invoice. See what you can do for the details.

Is this an official Facturapi product?

No. usefulapi is an independent service. It is not affiliated with or endorsed by Facturapi. The server calls the Facturapi API with your own Facturapi access, so it sees only the data that your account can see.

Can I connect Facturapi to Claude or ChatGPT?

Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.

What do I need to connect?

The login page asks for your Facturapi secret key. See Before you connect for where to find it.

Do I put my Facturapi key or an Authorization header in the client config?

No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Facturapi secret key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

How do you keep my Facturapi credentials?

The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Facturapi API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Facturapi.

Can the AI change my Facturapi data?

Yes, if you approve it. 3 of the 15 Facturapi tools can create or change data. The other 12 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.

What does it cost?

The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with 10,000 tool calls / month. Pro+ costs $39/mo or $390/yr, with 100,000 tool calls / month. Each subscription covers this Facturapi server only. Cancel any time: your paid plan then runs to the end of the paid period. Run facturapi_usage_status to see how many calls you used.

How do I subscribe or cancel?

Ask the AI to run facturapi_upgrade and choose Pro or Pro+, billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+. After you confirm, your existing subscription changes in place, keeps its billing interval and charges the price difference for the rest of the period immediately. To cancel, run facturapi_cancel_subscription. Your paid plan continues to the end of the paid period.

What if a Facturapi tool that I need is missing?

Tell the AI what you wanted to do. It can send the request with facturapi_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.

Which AI clients can I use?

Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Perplexity, Cursor, VS Code, Windsurf and others.

This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.

Need a tool this server does not have, or a connection to another system? We build custom integrations and MCP servers.

More Accounting & Tax MCP servers

A-CubeA2XABRA FlexiAdminPulseamegobilleyBrioxCegid BusinessCegid JasminCollmexContaCuénticaDaftraDefontanaDokladoe-conomicEvobulutExpenseOnDemandF-sąskaitaFacturamaFakturoidFatture in CloudFenoFinFikenFinancial CentsFiscalHubGranatumKledoKvittiaMarminMekari JurnalNFe.ioNubeFactNumeralOfficeGestOxygen PelatologioPaidniceQuadernoQuarterwiseQuipuRechnioRevisoRun my AccountsScradaSentaSilvasoftSoloStorecoveSUMITTaleroTaxmoTS FacturasVatstackWeFileWizCloudZero Plus One

All Accounting & Tax servers →