# Facturapi MCP server > Read customers, invoices and receipts; create customers, products and draft invoices in Facturapi. A hosted remote MCP server by usefulapi.io, an independent service (not affiliated with Facturapi). - Server URL: https://facturapi.usefulapi.io/mcp - Transport: Streamable HTTP, OAuth sign-in - Status: live - Page: https://usefulapi.io/facturapi/ ## Connect - Claude (claude.ai, Desktop): Customize → Connectors → Add custom connector, name Facturapi, URL https://facturapi.usefulapi.io/mcp. Prefilled dialog: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Facturapi&connectorUrl=https%3A%2F%2Ffacturapi.usefulapi.io%2Fmcp - Claude Code: `claude mcp add --transport http facturapi https://facturapi.usefulapi.io/mcp`, then run `/mcp` to log in. As a plugin: `claude plugin marketplace add https://usefulapi.io/claude/marketplace.json`, then `claude plugin install facturapi@usefulapi`. - Codex: `codex mcp add facturapi --url https://facturapi.usefulapi.io/mcp`, then `codex mcp login facturapi`. - ChatGPT: Plugins → Add custom MCP server, authentication OAuth. - Perplexity (Pro, Max, Enterprise): Plugins → Add custom → Add MCP connector → Remote, URL https://facturapi.usefulapi.io/mcp, Advanced: OAuth, Streamable HTTP. - Cursor, VS Code and other MCP clients: add the URL as a remote MCP server. 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. ## Before you connect 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. ## Example requests - Which invoices from this month are still unpaid, and what is the total? - Find the customer with RFC XAXX010101000 and show their details. - Create a draft invoice for customer cus\_123 with two units of product prd\_456. - Search the SAT product key catalog for software services. ## Pricing - Free: $0, 50 tool calls / month - Pro: $9/mo · $90/yr per user, 10,000 tool calls / month - Pro+: $39/mo · $390/yr per user, 100,000 tool calls / month Each paid plan covers this Facturapi server only. ## Tools (19) ### Read only (12) - `facturapi_get_organization`: Get the 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. - `facturapi_list_customers`: List customers. Search or list the organization's customers (receivers of invoices) with legal name, RFC, tax system and email. - `facturapi_get_customer`: Get a customer. Get one customer by id, including RFC, legal name, tax system, address and default invoice use. - `facturapi_list_products`: List products. Search or list the organization's products and services (catalog items used on invoices) with description, product key, price, unit and taxes. - `facturapi_get_product`: Get a product. Get one product by id, including its SAT product key, unit key, price and tax settings. - `facturapi_search_product_keys`: Search SAT product keys. Search the SAT product and service key catalog (clave prodserv), needed to create a product. Use the returned key as product\_key. - `facturapi_search_units`: Search SAT unit keys. Search the SAT measurement unit catalog (clave unidad), needed for a product's unit\_key. - `facturapi_list_invoices`: 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. - `facturapi_get_invoice`: Get an invoice. Get one invoice by id: status, folio, SAT UUID, customer, items, totals, payment status and cancellation status. - `facturapi_get_invoice_download_url`: Get an invoice download link. Get a temporary download URL for an invoice file: PDF, XML or ZIP (PDF and XML). - `facturapi_list_receipts`: List e-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. - `facturapi_get_receipt`: Get an e-receipt. Get one e-receipt by id, including its items, total, customer and whether it was invoiced. ### Changes data (3) - `facturapi_create_customer`: Create a 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. - `facturapi_create_product`: Create a 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. - `facturapi_create_draft_invoice`: Create a 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) - `facturapi_usage_status`: Usage status (free-tier meter). 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. - `facturapi_request_feature`: Request a missing 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. - `facturapi_upgrade`: Upgrade to Pro or Pro+. 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. - `facturapi_cancel_subscription`: Cancel the Pro 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](https://usefulapi.io/facturapi/#uses) 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](https://usefulapi.io/facturapi/#connect). ### What do I need to connect? The login page asks for your **Facturapi secret key**. See [Before you connect](https://usefulapi.io/facturapi/#setup) 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. ## Links - [Facturapi MCP server page](https://usefulapi.io/facturapi/) - [All servers](https://usefulapi.io/llms.txt) - [Terms of Service](https://usefulapi.io/terms/) - [Privacy Policy](https://usefulapi.io/privacy/) - Support: support@usefulapi.io