colombia-finance-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@colombia-finance-mcpHow much is USD 2,500 in COP at last Friday's official rate?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
colombia-finance-mcp
An MCP server for Colombian financial data: gives Claude (or any MCP client) live access to the TRM — Colombia's official USD/COP exchange rate, certified by the Superintendencia Financiera — straight from the government open-data API. No API keys, no scraping.
Ask things like:
"What's today's TRM?" "How did the peso move in the first half of 2026? Min, max, average?" "How much is USD 2,500 in pesos at the official rate of last Friday?"
Tools
Tool | What it does |
| Official TRM (COP per USD) for any date since 1991 — today by default. Correctly resolves weekends/holidays to the carried-over rate. |
| Daily TRM series between two dates (up to ~5 years) with statistics: min, max, average, percent change. Long ranges are auto-sampled. |
| Converts USD ⇄ COP at the official TRM of any date. |
Example response from get_trm:
{
"requestedDate": "2026-09-26",
"copPerUsd": 3306.86,
"validFrom": "2026-09-26",
"validTo": "2026-09-28",
"carriedOver": false,
"source": "Source: TRM certified by the Superintendencia Financiera de Colombia, published on datos.gov.co (dataset 32sa-8pi3)."
}Related MCP server: TCMB MCP
Quickstart
Requires Node.js ≥ 18.
git clone https://github.com/AlejandroGuerra1823/colombia-finance-mcp.git
cd colombia-finance-mcp
npm install && npm run buildClaude Code:
claude mcp add colombia-finance -- node /absolute/path/to/colombia-finance-mcp/dist/index.jsClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"colombia-finance": {
"command": "node",
"args": ["/absolute/path/to/colombia-finance-mcp/dist/index.js"]
}
}
}How it works
Claude ──(MCP / stdio)──▶ server.ts ──▶ trm.ts ──▶ datos.gov.co (Socrata API)
3 tools │
zod-validated ├─ validation (dates, series bounds)
inputs ├─ in-memory cache (historical = immutable,
│ current rate = 1h TTL)
└─ stats engine (min/max/avg/Δ%)Design decisions worth noting:
TRM semantics are handled correctly. Each TRM record has a validity window; on weekends and holidays the last business-day rate carries over. Lookups resolve "latest record ≤ date", and responses flag
carriedOverexplicitly.Cache split by mutability. Historical rates never change → cached forever. The current rate can be superseded → 1-hour TTL.
Errors are messages, not crashes. Invalid dates, empty ranges, oversized ranges and malformed upstream data all return structured MCP errors the model can read and act on.
stdout is protocol-only. All logging goes to stderr, as the MCP stdio transport requires.
Development
npm run build # compile TypeScript (strict mode)
npm test # vitest — 16 unit tests (validation, stats, cache, error paths)Roadmap
UVR (Unidad de Valor Real) lookups
IBR reference rate
Colombian inflation (IPC) series
npm package (
npx colombia-finance-mcp)
Data source & disclaimer
Data comes from datos.gov.co dataset 32sa-8pi3, published by the Superintendencia Financiera de Colombia. This project is informational and not financial advice.
Author
Alejandro Guerra — AI Engineer · digital banking LinkedIn · Portfolio · GitHub
MIT © 2026
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert currencies, get FX rates, and query historical ECB exchange rate data.
Convert currencies on the daily European Central Bank reference rates. No API key, no signup.
Convert currencies on the daily European Central Bank reference rates. No API key, no signup.
Convert currencies on the daily European Central Bank reference rates. No API key, no signup.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA template for deploying MCP servers on Cloudflare Workers without authentication. Enables easy creation and deployment of custom MCP tools that can be accessed remotely via Claude Desktop or Cloudflare AI Playground.9Mozilla Public 2.0
- AlicenseBqualityFmaintenanceProvides access to Turkish Central Bank (TCMB) exchange rates with current and historical data since 1996, currency conversion, rate history statistics, and multi-currency comparisons with smart caching.61MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical foreign exchange rates for 31+ currencies, enabling currency conversion, historical rate lookups, and time series analysis using data from the Frankfurter API.-
- AlicenseNot gradedqualityCmaintenanceProvides access to Chilean economic indicators (dolar, UF, IPC, etc.) via the mindicador.cl API, enabling queries for current values, historical series, and specific dates.MIT