npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-khipu

v0.2.0-alpha.3

Published

MCP server for Khipu — Chilean instant bank-transfer payments (complement to Transbank card acquiring)

Readme

@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