Skip to main content
Glama
dolar-mcp

dolar-mcp

by dan1d

dolar-mcp

Argentine exchange rates for AI agents.

npm version tests npm downloads license

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.

npm | GitHub


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?"


Related MCP server: mcp-argentina

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. Uses the sell (venta) rate; use_buy: true switches to the buy (compra) rate in either direction. Codes are case-insensitive (EUR, eur, Blue).

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

MIT -- by dan1d

Available Tools

6 tools
convertA

Convert an amount between ARS and any currency or dollar type. At least one side must be ARS.

Inputs: amount (required), from (required), to, use_buy.

get_all_currenciesA

Get all foreign currency exchange rates vs ARS (EUR, BRL, UYU, CLP, etc.).

Inputs: no named parameters.

get_all_dollarsA

Get all Argentine dollar exchange rates: blue, oficial, bolsa (MEP), contado con liqui (CCL), cripto, mayorista, and tarjeta. Returns buy/sell prices.

Inputs: no named parameters.

get_currencyA

Get exchange rate for a specific foreign currency vs ARS.

Inputs: currency (required).

get_dollarB

Get a specific dollar exchange rate. Types: blue, oficial, bolsa, contadoconliqui, cripto, mayorista, tarjeta.

Inputs: type (required).

get_spreadB

Calculate the spread (difference) between two dollar types. E.g. blue vs oficial.

Inputs: type_a (required), type_b (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a distinct purpose: conversion, listing all currencies, listing all dollars, single currency, single dollar, and spread calculation. No overlap or ambiguity.

    Naming Consistency4/5

    Most tools follow a 'get_*' pattern for queries, while 'convert' uses a different verb but is still a clear action. The naming is mostly consistent with a minor deviation.

    Tool Count5/5

    6 tools is well-scoped for a currency exchange rate server, covering all essential operations without being excessive or insufficient.

    Completeness4/5

    Covers core functionality: listing and fetching rates, conversion, and spread. Minor gap: no historical data or cross-currency conversion beyond ARS, but acceptable for basic use.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time Argentine dollar exchange rates to Claude, including blue, official, MEP, CCL, crypto, and other rates. Enables automatic currency conversions for budgets, price comparisons, and financial analysis in pesos and dollars.
      5 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for querying real-time Argentine economic data, including dollar exchange rates, inflation, country risk, foreign currencies, and more.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Exposes Argentine market data to AI agents, including MEP, CCL, official, blue and other dollar quotes, plus simulated USD/ARS paper-trading orders with deterministic risk guardrails, a kill switch and an auditable call log.
      5
      MIT