Caf

Finance and commerce

DEPRECATED: no live endpoint (api.caf.io does not resolve).

Your AI app calls the Caf MCP server, which does the finance and commerce work and sends the result back to the chat.

About Caf

Caf is a community MCP server from codespar, filed in our directory under finance and commerce. DEPRECATED: no live endpoint (api.caf.io does not resolve).

Caf runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-caf@0.1.3 and talks to it over standard input and output. It needs CAF_API_KEY set before Caf starts.

Caf is listed in the official MCP registry as io.github.codespar/mcp-caf, version 0.1.3.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-caf
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-caf

How to set up Caf

  1. Install Node.js on the machine that runs your AI app, because Caf starts with npx and downloads its package on first run.
  2. Create CAF_API_KEY for Caf in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Caf to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Caf tools to confirm the connection.
  5. Run one read-only task with Caf first, and keep your app asking before each tool call until the results look right.

Caf compared with similar servers

  • Caixa by codespar has fewer GitHub stars than Caf (278 against 278); both are community servers, and both run locally.
  • Btg by codespar has fewer GitHub stars than Caf (278 against 278); both are community servers, and both run locally.
  • Celcoin by codespar has fewer GitHub stars than Caf (278 against 278); both are community servers, and both run locally.

Before you connect Caf

  • Give Caf its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Caf tool call until you trust what it does with them.
  • Treat text that Caf fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Caf on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Caf

How marketing and sales teams put Caf to work, by company size. Pick the size closest to yours and start Caf on one use case.

Small business

  • A small business can ask Caf which products and customers drive margin, then plan promotions around them.
  • Owners can use Caf to check refunds, failed payments and churn reasons without opening three dashboards.
  • Caf runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Caf to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Caf to check spend against budget each week and move money to what's working.
  • Start Caf on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Caf read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Caf to answer revenue questions by channel and region with figures finance signs off on.
  • Caf is a community server, so have security review the code and pin a version before Caf touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Caf README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-caf

Deprecated: no live endpoint. Measured on 2026-09-27 against two public DNS resolvers (8.8.8.8 and 1.1.1.1): api.caf.io, the host this server calls, does not resolve in DNS. CAF's docs (now branded Certta) name api.combateafraude.com/v1 for the Core API, which they no longer recommend for new integrations, and api.us.prd.caf.io for the newer Connect API; this server was not written against either and has not been checked. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it with CAF_BASE_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.

MCP server for Caf, Brazilian identity + Trust Platform. KYC/KYB, face authentication + liveness, document validation + OCR, and orchestrated onboarding flows. Direct competitor to Unico / IDwall / Certta; their Trust Platform chains multi-step identity verifications with policy rules.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "caf": {
      "command": "npx",
      "args": ["@codespar/mcp-caf"],
      "env": {
        "CAF_API_KEY": "your-api-key"
      }
    }
  }
}
Cursor / VS Code

Same config in .cursor/mcp.json.

Tools (9)

KYC / KYB
Tool Caf endpoint Notes
person_check POST /v1/checks/person CPF → name, DOB, restrictions, risk
company_check POST /v1/checks/company CNPJ → profile, QSA, sanctions
Biometrics
Tool Caf endpoint Notes
face_authentication POST /v1/biometrics/face Selfie vs base image + liveness
liveness_check POST /v1/biometrics/liveness Passive liveness only
Documents
Tool Caf endpoint Notes
document_check POST /v1/checks/document OCR + authenticity for RG / CNH / passport / proof of residence
Trust Platform orchestration
Tool Caf endpoint Notes
trust_platform_start POST /v1/trust/flows Hosted onboarding flow per dashboard template
trust_platform_get GET /v1/trust/flows/{flow_id} Per-step verdicts
Metadata + replay
Tool Caf endpoint Notes
list_datasources GET /v1/datasources Datasources enabled on your account
get_check_result GET /v1/checks/{check_id} Replay a previous check by id

Authentication

Standard Bearer auth:

Authorization: Bearer <CAF_API_KEY>

Issue your API key from the Caf dashboard:

Sandbox / Testing

Sandbox endpoint: https://api-sandbox.caf.io. Override via CAF_API_BASE.

Environment Variables

Variable Required Description
CAF_API_KEY yes API key from the Caf dashboard
CAF_API_BASE no Override base URL (default https://api.caf.io)

Caf vs Certta vs BigDataCorp

Three BR identity rails in this catalog, each with a different specialty:

Provider Strength Best for
Caf KYC + Trust Platform orchestration Hosted onboarding with policy rules
Certta (@codespar/mcp-certta) KYC + biometrics + ICP-Brasil signature Onboarding with signed contracts
BigDataCorp (@codespar/mcp-bigdatacorp) Broad data enrichment + antifraud KYC + AML + credit decisioning

Enterprise

Need governance, budget limits, and audit trails for agent identity calls? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Caf

What is the Caf MCP server?

DEPRECATED: no live endpoint (api.caf.io does not resolve). Caf is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Caf MCP server?

Add Caf to your AI app's MCP config with the command npx -y @codespar/mcp-caf@0.1.3. In Claude Code, run claude mcp add --transport stdio codespar-caf -- npx -y @codespar/mcp-caf@0.1.3. To run Caf this way you need Node.js installed.

Does Caf need an API key?

Yes. Caf expects CAF_API_KEY to be set. Create the key for Caf in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Caf an official MCP server?

No. Caf is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Caf access to company data.

What license is Caf under?

Caf is released under the MIT license, according to its GitHub repository. The license covers the code of Caf; the service it connects to has its own terms.