New:Socket for Asana Is Now Available.Learn more
Get Started

@codespar/mcp-culqi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-culqi

MCP server for Culqi — Peru's default PSP (the Stripe of Peru). Charges, subscriptions, customers, cards, Yape / PagoEfectivo orders.

npmnpm
Version
0.2.0
Version published
Weekly downloads
8
-75%
Maintainers
1
Weekly downloads
 
Created
Source

@codespar/mcp-culqi

MCP server for Culqi — Peru's default PSP.

Culqi is the Stripe of Peru: the standard rail for Peruvian D2C brands and SaaS. It ships CulqiOnline (hosted checkout), CulqiLink (payment links), and CulqiFull (subscriptions). Adding Culqi brings Peru into the CodeSpar catalog alongside Mexico, Brazil, Colombia, Argentina, and Chile.

Tools

ToolPurpose
create_tokenTokenize a card (POST /tokens) — usually client-side, server-side for testing
create_chargeCharge a card or token (POST /charges) in PEN or USD
get_chargeRetrieve a charge by id
refund_chargeRefund a captured charge (full or partial)
create_customerCreate a customer record
create_cardAttach a tokenized card to a customer for reuse
create_planCreate a subscription plan
create_subscriptionSubscribe a customer's card to a plan (CulqiFull)
cancel_subscriptionCancel an active subscription
list_eventsList webhook events with filters (type, date range)

Install

npm install @codespar/mcp-culqi

Environment

CULQI_SECRET_KEY="sk_test_..."   # or sk_live_... for production

Culqi has no separate sandbox URL — the key prefix (sk_test_ vs sk_live_) selects the environment.

Authentication

Bearer token on every request:

Authorization: Bearer <CULQI_SECRET_KEY>
Content-Type: application/json

Base URL: https://api.culqi.com/v2.

Run

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

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

Notes

  • Amounts are in cents of the currency (e.g. 1000 = S/ 10.00 PEN).
  • Currencies supported: PEN, USD.
  • Tokenization of raw card data is typically done client-side (culqi.js / mobile SDKs). The create_token tool is primarily for test scripts — never send real PANs from a backend without PCI scope.
  • Subscriptions require tyc: true (terms & conditions acceptance) on creation.

License

MIT

Keywords

mcp

FAQs

Package last updated on 24 Apr 2026

Related posts