npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dan1d/dolar-mcp

v1.0.1

Published

Argentine exchange rates MCP server. Dollar blue, oficial, CCL, crypto and all currencies via DolarAPI.

Readme

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


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

MIT -- by dan1d