Skip to main content
Glama
tasas-ve-mcp

tasas-ve-mcp

by abixaiprin

tasas-ve-mcp

Venezuelan exchange rates for your AI assistant, in one line. Official BCV rate (USD, EUR), the buy/sell rate reported by each Venezuelan bank and the USDT P2P market reference, as an MCP server, a CLI and a Python library.

tests license python

English · Español

You: How much is 250 dollars in bolívares today? Claude: At the BCV official rate (Bs 889.58 per USD, 2 Nov 2026), USD 250 = Bs 222,393.85. The USDT P2P reference is Bs 1,003.90, a 12.85 % gap.

🧩 Also available as an agent skill on Agensi: install it in Claude Code, Cursor and 20+ agents. See all my skills.

Why

  • Your assistant stops guessing. LLMs don't know today's rate; this gives it the real number with source and timestamp.

  • Fast and cheap. One small tool call, maths done locally — no long prompts, no scraping by the model, minimal tokens.

  • Keeps working when the source is down. The last known value is cached on disk and returned with a warning.

Related MCP server: Economía Venezuela MCP

Quick start

Requires uv (or pip install git+https://github.com/abixaiprin/tasas-ve-mcp).

VS Code — .vscode/mcp.json

{ "servers": { "tasas-ve": { "command": "uvx", "args": ["--from", "git+https://github.com/abixaiprin/tasas-ve-mcp", "tasas-ve-mcp"] } } }

Claude Desktop / Cursor — MCP config

{ "mcpServers": { "tasas-ve": { "command": "uvx", "args": ["--from", "git+https://github.com/abixaiprin/tasas-ve-mcp", "tasas-ve-mcp"] } } }

Terminal

uvx --from git+https://github.com/abixaiprin/tasas-ve-mcp tasas-ve            # BCV + P2P rates
uvx --from git+https://github.com/abixaiprin/tasas-ve-mcp tasas-ve 100 USD VES
uvx --from git+https://github.com/abixaiprin/tasas-ve-mcp tasas-ve --bancos   # rate per bank
uvx --from git+https://github.com/abixaiprin/tasas-ve-mcp tasas-ve 5000 VES USD --p2p

Python

from tasas_ve import Servicio
s = Servicio()
s.convertir(100, "USD", "VES")      # {'resultado': 88957.54, 'tasa_usada': 889.5754, ...}

Use it from any app (React, Vue, Java, PHP…)

Run it as a small web service and call it over HTTP. It also exposes remote MCP at /mcp.

uvx --from git+https://github.com/abixaiprin/tasas-ve-mcp tasas-ve-mcp --http --port 8000

Endpoint

Example

GET /api/tasas

BCV + P2P rates

GET /api/bancos

Buy/sell per bank + average

GET /api/convertir

/api/convertir?monto=100&de=USD&a=VES&fuente=bcv

GET /salud

health check

React / Vue / any JS

const r = await fetch("https://YOUR-SERVICE/api/convertir?monto=100&de=USD&a=VES");
const { resultado, tasa_usada } = await r.json();

Java

var res = HttpClient.newHttpClient().send(
  HttpRequest.newBuilder(URI.create("https://YOUR-SERVICE/api/tasas")).build(),
  HttpResponse.BodyHandlers.ofString());

Deploy for free: the repo includes render.yaml — on Render choose New → Blueprint and pick this repo.

Tools

Tool

What it does

tasa_bcv

Official BCV rate: Bs per 1 USD and 1 EUR

tasas_bancos

Buy and sell rate (Bs/USD) reported by each bank to the BCV — Mercantil, Banesco, BNC, Provincial, BanCaribe… — plus the average

tasa_p2p

USDT/VES market reference (median of P2P ads, SELL or BUY)

convertir

Converts between VES, USD, EUR and USDT using bcv or p2p

brecha_cambiaria

Gap (%) between the official rate and the P2P reference

For teams and companies

  • One source of truth for the rate. Your apps, spreadsheets and AI assistants read the same number, with source and timestamp — no more copying it by hand every morning.

  • Plug it into what you already use: Claude, Cursor or VS Code via MCP; React, Vue, Java or PHP via the REST API.

  • Self-hosted and auditable. It's open source, it only reads public pages and it sends no data about your company.

  • Resilient. If the source goes down, your systems keep the last known value instead of breaking.

Cost & performance

Tokens per question

one tool call + a ~200-byte JSON answer

Cache

BCV 30 min · P2P 3 min · last value saved to ~/.cache/tasas-ve/

Network

Only public pages; nothing is sent about you

How it works

flowchart LR
  A[AI assistant] -->|MCP tool call| B[tasas-ve-mcp]
  B --> C{Cache fresh?}
  C -- yes --> A
  C -- no --> D[BCV website / P2P ads]
  D --> E[(Last known value)]
  E --> A

Data sources and disclaimer

  • BCV and banks: public website bcv.org.ve (official rate and Tasas Informativas del Sistema Bancario). If its TLS certificate can't be verified, the answer says so.

  • P2P: public Binance P2P ad listing. It is a market reference, not an official rate. Not affiliated with BCV or Binance.

  • Rates are informative. Check the official source before any legal or accounting use.

Roadmap

  • Rate history and daily average

  • More sources (other P2P platforms, parallel references)

  • REST API and a widget for websites

  • Other countries

Ideas? Open a discussion.

Contributing

git clone https://github.com/abixaiprin/tasas-ve-mcp && cd tasas-ve-mcp
pip install -e ".[dev]" && pytest

Need this for your business?

I adapt tools like this to your company: integrations with your systems, payment flows, AI assistants and support. → dev-abixai.netlify.app · dev.abixai.martinez@gmail.com

Support

If this saved you time:

  • ⭐ Star the repo — it helps other developers find it.

  • ☕ Buy me a coffee on Ko-fi — keeps new tools coming.

  • 🔁 Share it with a team that still copies the rate by hand.

License

MIT © 2026 Abixai Prin. You can use, modify and share it; keep the copyright notice.


Available Tools

4 tools
brecha_cambiariaB

Diferencia porcentual entre la tasa oficial BCV del dólar y la referencia USDT P2P.

Inputs: no named parameters.

convertirB

Convierte un monto entre VES, USD, EUR y USDT. fuente='bcv' (oficial) o 'p2p' (mercado).

Inputs: a (required), de (required), monto (required), fuente.

tasa_bcvA

Tasa oficial del Banco Central de Venezuela: bolívares por 1 USD y por 1 EUR.

Inputs: no named parameters.

tasa_p2pB

Referencia de mercado USDT/VES: mediana de anuncios P2P. lado='SELL' (venta) o 'BUY' (compra). No es oficial.

Inputs: lado.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct concept: official BCV rate, P2P market reference, amount conversion, and the percentage gap between them. The `convertir` tool's `fuente` parameter could superficially be confused with `tasa_bcv`/`tasa_p2p`, but the descriptions make clear it performs conversion rather than rate lookup. No two tools do the same thing.

    Naming Consistency4/5

    All names are lowercase snake_case, which is consistent, but the grammatical style is mixed: `tasa_bcv`/`tasa_p2p` are noun phrases, `convertir` is a bare verb, and `brecha_cambiaria` is another noun phrase. It reads fine in Spanish and each name is still self-explanatory, so this is a minor deviation rather than a real inconsistency.

    Tool Count5/5

    Four tools is a tight, well-scoped surface for a narrow domain (Venezuelan exchange rates). Every tool earns its place: two rate sources, one conversion utility, one derived metric, with no redundant or filler entries.

    Completeness4/5

    The surface covers the core lifecycle: fetch official rate, fetch market rate, convert between all four currencies, and compute the gap. The main gap is historical/time-series data (no date parameter), so an agent cannot retrieve past rates, but all current-state workflows are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides access to real-time currency exchange rates, live stock market data via Alpha Vantage, and local transaction analysis from CSV databases. It enables AI assistants to perform currency conversions, stock comparisons, and budget tracking through natural language.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time Venezuelan economic data, including official and parallel exchange rates, inflation statistics, and basic goods basket prices. It enables AI assistants to query historical economic trends and current market indicators via natural language.
      MIT
    • 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.
      4 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables searching and converting currencies, stocks, crypto, ETFs, and funds with current rates and source freshness for AI agents.
      3
      MIT