mcpField
M
mcp-bcra

mcp-bcra

Local
github.com/codesparFinance275Updated 4w ago

About mcp-bcra

mcp-bcra is an MCP server for public data from Argentina's Central Bank (BCRA), covering exchange rates, monetary base, reserves, interest rates and inflation. It requires no credentials, so it suits analysts and finance agents who need Argentine macroeconomic series. It supports both stdio and HTTP transports.

Key features

  1. 01Retrieves official exchange rate snapshots and history
  2. 02Looks up monetary base, reserves and reference rates
  3. 03Provides CPI inflation and UVA values
  4. 04Reports benchmark rates such as BADLAR and TM20
  5. 05Checks whether a cheque has been reported stolen or lost

Use cases

  1. 01Giving an agent access to official Argentine exchange rates
  2. 02Analysing how inflation and UVA changes affect loan costs
  3. 03Verifying a cheque against the BCRA stolen or lost list

MCP support

This project is an MCP server that exposes 16 BCRA data tools to MCP clients, such as get_exchange_rates, get_inflation and validate_cheque.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-bcra": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-bcra"
]
}
}
}
Run commandnpx -y @codespar/mcp-bcra

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-bcra0.2.2

Tools

16

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
datestringNoDate (YYYY-MM-DD), defaults to latest
currencystringNoCurrency code filter (USD, EUR, BRL)

Details

From the project README

MCP BCRA

MCP server for BCRA (Banco Central de la Republica Argentina) — public API for exchange rates, monetary data, reserves, interest rates, and inflation data.

Quick Start

# No credentials needed — public API

# Run via stdio
npx tsx packages/argentina/bcra/src/index.ts

# Run via HTTP
npx tsx packages/argentina/bcra/src/index.ts --http

Environment Variables

VariableRequiredDescription
None—Public API, no authentication required
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (16)

ToolPurpose
get_exchange_ratesGet official exchange rates snapshot for a date (USD, EUR, BRL, etc.)
list_currenciesList the master catalog of currencies (divisas) tracked by BCRA
get_official_rateGet the official BCRA quote for a single currency on a specific date
get_currency_historyGet historical quotes for a currency over a date range
list_variablesList the catalog of monetary variables (id, descripción, categoría) — use this to discover variable ids for...
get_variable_historyGet the historical series for any monetary variable by id, with optional date range.
get_uva_valueGet UVA (Unidad de Valor Adquisitivo) — used for inflation-adjusted mortgage calculations
get_monetary_baseGet monetary base data (base monetaria)
get_reservesGet international reserves data (reservas internacionales)
get_interest_ratesGet reference interest rates (tasas de interés de referencia)
get_inflationGet inflation data (IPC nivel general — variación mensual)
get_badlar_rateGet BADLAR rate (tasa de plazos fijos >1M ARS, bancos privados) — used as benchmark for many financial prod...
get_tm20_rateGet TM20 rate (tasa de plazos fijos >20M ARS, bancos privados)
get_leliq_rateGet monetary policy rate (ex-LELIQ / tasa de política monetaria)
list_cheque_entitiesList the catalog of financial entities with their cheque codes — use the código to validate cheques
validate_chequeCheck whether a cheque has been reported as stolen/lost (denunciado) by entity code and cheque number

Auth

No authentication required. The BCRA API is publicly available. Rate limits may apply.

API Reference

Authentication

BCRA's Estadísticas Cambiarias and Variables APIs are public — no API key, OAuth token, or signed request required. The MCP server makes plain HTTPS GETs to api.bcra.gob.ar.

If your organization fronts the BCRA endpoints with a corporate gateway that requires auth, set the gateway's URL via the network egress policy and tunnel through it; the MCP server itself doesn't need credential plumbing.


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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.