# dan1d/dolar-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/dan1d/dolar-mcp  
**GitHub Stars:** 5  
**npm Downloads (last month):** 39  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dan1d-dolar-mcp

## Description
Argentine exchange rates for AI agents via DolarAPI. Dollar blue, oficial, MEP, CCL, crypto, tarjeta — plus currency conversion and spread calculator.

## Tools
Capabilities this server exposes over MCP:

- **get_all_dollars** — Get all Argentine 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 exchange 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.
- **get_spread** — Calculate the spread (difference) between two dollar types. E.g. blue vs oficial.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "dolar-mcp": {
    "command": "npx",
    "args": ["-y","@dan1d/dolar-mcp"]
  }
}
```

## Documentation

## What dan1d/dolar-mcp does

dan1d/dolar-mcp provides MCP tools for querying Argentine exchange rates through DolarAPI. It covers several dollar markets, including blue, oficial, bolsa or MEP, contado con liqui or CCL, cripto, mayorista, and tarjeta. Dollar queries return buy and sell prices.

The server also covers foreign currencies quoted against the Argentine peso, including currencies such as EUR, BRL, UYU, and CLP. Agents can request either a complete set of rates or a single dollar or currency rate.

Conversion and comparison operations are built in. The `convert` tool changes amounts between ARS and a supported currency or dollar type, while `get_spread` compares two dollar types and returns both the absolute and percentage difference.

## How it works

All rate data comes from DolarAPI, a free public API for Argentine exchange rates. The server does not require authentication, and its data is updated in real time according to the project description.

The available dollar identifiers are `blue`, `oficial`, `bolsa`, `contadoconliqui`, `cripto`, `mayorista`, and `tarjeta`. Foreign currencies can be requested by their currency codes. Codes are case-insensitive, so values such as `EUR`, `eur`, and `Blue` are accepted where applicable.

Conversions require ARS on at least one side. For example, an agent can convert a dollar amount to pesos or convert pesos to EUR. By default, conversion uses the sell price (`venta`). Passing `use_buy: true` selects the buy price (`compra`) in either direction.

## Setup and configuration

The package can run directly through `npx`, making it suitable for MCP clients that launch stdio servers. No environment variables or API key are needed.

For Claude Desktop, add the following server entry to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "dolar": {
      "command": "npx",
      "args": ["-y", "@dan1d/dolar-mcp"]
    }
  }
}
```

Claude Code can register it with:

```bash
claude mcp add dolar -- npx -y @dan1d/dolar-mcp
```

Cursor uses the same `command` and `args` values in `.cursor/mcp.json`. Windsurf can be configured with the corresponding `dolar` server entry. The package is also available for programmatic use after installing `@dan1d/dolar-mcp`; its exported `createDolarTools()` function returns the tool interface.

## Tools and capabilities

- `get_all_dollars`: Retrieves blue, oficial, MEP, CCL, crypto, mayorista, and tarjeta rates with buy and sell prices.
- `get_dollar`: Retrieves one supported dollar type.
- `get_all_currencies`: Lists foreign currency rates against ARS.
- `get_currency`: Retrieves one foreign currency rate against ARS.
- `convert`: Converts between ARS and a supported currency or dollar type, using either the sell or buy rate.
- `get_spread`: Calculates absolute and percentage differences between two dollar types.

These tools support questions such as the current blue-dollar rate, the EUR-to-ARS rate, a conversion from blue dollars to pesos, or the gap between oficial and blue.

_Full upstream README: https://allmcps.com/mcp/dan1d-dolar-mcp/readme_

