Khipu

Finance and commerce

MCP server for Khipu, Chilean instant bank-transfer payments (complements Transbank cards).

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

About Khipu

Khipu is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Khipu, Chilean instant bank-transfer payments (complements Transbank cards).

Khipu runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-khipu@0.2.0-alpha.3 and talks to it over standard input and output.

Khipu is listed in the official MCP registry as io.github.codespar/mcp-khipu, version 0.2.0-alpha.3.

At a glance

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

How to set up Khipu

  1. Install Node.js on the machine that runs your AI app, because Khipu starts with npx and downloads its package on first run.
  2. Check the Khipu README for keys or settings; the registry lists none that Khipu requires.
  3. Add Khipu 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 Khipu tools to confirm the connection.
  5. Run one read-only task with Khipu first, and keep your app asking before each tool call until the results look right.

Khipu compared with similar servers

  • Konduto by codespar has fewer GitHub stars than Khipu (278 against 278); both are community servers, and both run locally.
  • Jumio by codespar has fewer GitHub stars than Khipu (278 against 278); both are community servers, and both run locally.
  • Kushki by codespar has fewer GitHub stars than Khipu (278 against 278); both are community servers, and both run locally.

Before you connect Khipu

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

Marketing use cases for Khipu

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

Small business

  • A small business can ask Khipu which products and customers drive margin, then plan promotions around them.
  • Owners can use Khipu to check refunds, failed payments and churn reasons without opening three dashboards.
  • Khipu 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 Khipu to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Khipu to check spend against budget each week and move money to what's working.
  • Start Khipu on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

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

Khipu 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-khipu

MCP server for Khipu, Chilean instant bank-transfer PSP.

Khipu lets a payer pay from their Chilean bank account in real time: the merchant creates a payment, the payer is redirected to Khipu, logs into their bank, and the transfer lands instantly. No card, no credit limit, no interchange fees, the Chilean preferred rail for higher-ticket purchases.

Chilean agents typically bundle Khipu with @codespar/mcp-transbank: Webpay for cards, Khipu for bank transfers. Together they cover the vast majority of Chilean checkout preferences.

Tools (21)

Tool Purpose
create_payment Create a Khipu payment (bank-transfer charge).
get_payment Retrieve a Khipu payment.
delete_payment Delete (cancel) a pending Khipu payment.
confirm_payment Manually confirm a Khipu payment.
refund_payment Refund a paid Khipu payment (full or partial).
list_payments List Khipu payments for the current merchant, optionally filtered by date range and status.
predict_payment Predict whether a payment is likely to succeed for a given payer+amount+bank, and recommend the best bank/r...
get_merchants List the merchant receiver accounts accessible with the current API key.
get_merchant Fetch a single merchant by id.
list_merchant_accounts List the bank accounts registered for a merchant to collect into.
create_receiver Create (onboard) a new receiver under an integrator account.
list_receivers List receivers onboarded under the current integrator account.
list_conciliations List settlement / conciliation records for a date range.
list_reviews List payer reviews / opinions left after a Khipu payment.
register_webhook Register a webhook endpoint to receive Khipu notifications (payment.paid, payment.refunded, etc).
list_webhooks List registered webhook endpoints for the current merchant.
delete_webhook Delete (unregister) a webhook endpoint by id.
create_terminal_session Create a Khipu terminal session for in-person / POS bank-transfer checkout.
get_terminal_session Retrieve the current status of a terminal (POS) session, whether the payer has scanned, paid, or the sessi...
get_banks List Chilean banks supported by Khipu for bank-transfer payments.
create_automatic_payment Create a Khipu automatic payment (recurring / subscription charge against a previously enrolled subscriptio...

Install

npm install @codespar/mcp-khipu@alpha

Environment

# Preferred, v3 API key auth
KHIPU_API_KEY="..."       # sent as x-api-key header

# Legacy, v2 HTTP Basic auth (only if no API key available)
KHIPU_RECEIVER_ID="..."   # merchant receiver id
KHIPU_SECRET="..."        # receiver secret

# Optional
KHIPU_BASE_URL="..."      # defaults to https://payment-api.khipu.com/v3

Authentication

Khipu v3 uses a single API key in the x-api-key header, no request signing, no HMAC. Obtain the key from the Khipu merchant panel under Developers → API keys.

If KHIPU_API_KEY is unset, the server falls back to v2 HTTP Basic with KHIPU_RECEIVER_ID:KHIPU_SECRET for merchants still on the legacy endpoints.

All request bodies are JSON (v3); the server sets Content-Type: application/json automatically.

Run

# stdio (default, for Claude Desktop, Cursor, etc)
npx @codespar/mcp-khipu

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-khipu

Why Khipu + Transbank

Chile has two dominant checkout rails:

  1. Card (Transbank Webpay), universal, works everywhere, interchange fees apply.
  2. Bank transfer (Khipu), no card needed, no credit limit, cheaper fees, preferred for larger purchases and B2B.

An agent that can offer both at checkout converts materially better than one that only takes cards. @codespar/mcp-transbank handles the first; this package handles the second.

Pair with

Enterprise

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

License

MIT

Questions about Khipu

What is the Khipu MCP server?

MCP server for Khipu, Chilean instant bank-transfer payments (complements Transbank cards). Khipu 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 Khipu MCP server?

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

Does Khipu need an API key?

The registry lists no required keys for Khipu. Check the Khipu README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Khipu an official MCP server?

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

What license is Khipu under?

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