dolar-mcp
Real-time Argentine exchange rates for AI agents. Dollar blue, oficial, MEP, CCL, crypto rates plus currency conversion and spread calculator.
README
dolar-mcp
Argentine exchange rates for AI agents.
MCP server that gives AI agents real-time access to Argentine exchange rates via DolarAPI. Dollar blue, oficial, MEP, CCL, crypto — plus currency conversion and spread calculator.
No API key required.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"dolar": {
"command": "npx",
"args": ["-y", "@dan1d/dolar-mcp"]
}
}
}
Claude Code
claude mcp add dolar -- npx -y @dan1d/dolar-mcp
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"dolar": {
"command": "npx",
"args": ["-y", "@dan1d/dolar-mcp"]
}
}
}
Windsurf
{
"mcpServers": {
"dolar": {
"command": "npx",
"args": ["-y", "@dan1d/dolar-mcp"]
}
}
}
Once configured, ask your AI assistant things like: "How much is the dollar blue today?" or "Convert 100 USD blue to ARS" or "What's the spread between blue and oficial?"
Available Tools
| Tool | Description |
|---|---|
get_all_dollars |
Get all dollar exchange rates: blue, oficial, bolsa (MEP), contado con liqui (CCL), cripto, mayorista, and tarjeta. Returns buy/sell prices. |
get_dollar |
Get a specific dollar type rate. Types: blue, oficial, bolsa, contadoconliqui, cripto, mayorista, tarjeta. |
get_all_currencies |
Get all foreign currency exchange rates vs ARS (EUR, BRL, UYU, CLP, etc.). |
get_currency |
Get exchange rate for a specific foreign currency vs ARS. |
convert |
Convert an amount between ARS and any currency or dollar type. At least one side must be ARS. Supports use_buy flag for buy rate. |
get_spread |
Calculate the spread (difference) between two dollar types, e.g. blue vs oficial. Returns absolute and percentage spread. |
Example Prompts
- "Dame todas las cotizaciones del dolar"
- "Cuanto sale el dolar blue hoy?"
- "Converti 500 USD blue a pesos"
- "Cual es la brecha entre el oficial y el blue?"
- "Cuanto esta el euro?"
- "Converti 1000 EUR a ARS"
Programmatic Usage
npm install @dan1d/dolar-mcp
import { createDolarTools } from "@dan1d/dolar-mcp";
const dolar = createDolarTools();
// Get all dollar rates
const rates = await dolar.tools.get_all_dollars();
// Get blue dollar specifically
const blue = await dolar.tools.get_dollar({ type: "blue" });
// Convert 100 USD blue to ARS
const converted = await dolar.tools.convert({
amount: 100,
from: "blue",
});
// Calculate spread between oficial and blue
const spread = await dolar.tools.get_spread({
type_a: "oficial",
type_b: "blue",
});
Data Source
All data comes from DolarAPI, a free public API for Argentine exchange rates. No authentication required. Data is updated in real time.
Part of the LATAM MCP Toolkit
| Server | What it does |
|---|---|
| CobroYa | Mercado Pago payments — create links, search payments, refunds |
| MercadoLibre MCP | MercadoLibre marketplace — search products, categories, trends |
| DolarAPI MCP | Argentine exchange rates — blue, oficial, CCL, crypto, conversion |
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.