SuperAPIAI Directory

nbg-rates-mcp

github.com · AI developer platforms

nbg-rates-mcp is an MCP server for AI agents that queries the official lari (GEL) exchange rates published by the National Bank of Georgia (NBG) and converts amounts by a specified date. It can run locally or be pasted into claude.ai or ChatGPT as a hosted connector, with no account or API key required. The tool handles rules that are easy to get wrong when querying exchange rates directly: per-unit conversion, Tbilisi calendar day, an explicit marker when there is no independent rate for a given day, and returning an error rather than a stale rate for dates for which NBG has not yet published a rate. The project is an independent open-source project and is not affiliated with NBG.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

nbg-rates-mcp is an MCP (Model Context Protocol) server that enables MCP clients such as Claude to query the official lari (GEL) exchange rates published by the National Bank of Georgia (NBG) and convert amounts at that rate. The project is an independent open-source project and is not affiliated with NBG. The official NBG website nbg.gov.ge is the authoritative data source; the NBG endpoints read by the server are undocumented and may change.

Uses and main capabilities

Users can ask questions to MCP-enabled clients, such as the USD exchange rate on a given day, converting 1,500 USD to GEL at the NBG rate on a given day, getting a daily EUR exchange rate table for a given month, or calculating how many USD 1 EUR equals at the NBG rate. The server returns exactly the official rate shown on nbg.gov.ge for the corresponding date, and is suitable for Georgian accounting and tax reporting scenarios.

The server provides the following tools, all of which are read-only:

  • nbg_get_rates: returns the official NBG exchange rates effective on a given calendar day. NBG quotes some currencies per 10, 100, 1000, or 10000 units; the server converts them to per 1 unit and preserves the original quote as nbgQuantity and nbgRate. Returned fields include requestedDate, effectiveDate, carriedOver, rates (including code, name, rate, diff, nbgQuantity, nbgRate), and unknownCodes.
  • nbg_convert: converts between two currencies at the official rate effective on a given calendar day; either side can be GEL; currency pairs that do not contain GEL are converted via GEL. Returns result (unrounded), resultRounded (rounded to two decimal places), rate, via, requestedDate, effectiveDate, carriedOver.
  • nbg_convert_many: batch converts a list of amounts at their respective dates, suitable for processing a batch of invoices; each item returns its result independently, and an error in one item does not affect the other items. Maximum 100 items, with at most one NBG request per distinct date. Returns items, converted, skipped, and total when the conditions are met.
  • nbg_list_currencies:List all currencies for which NBG publishes GEL exchange rates today, including code, name, nbgQuantity.
  • nbg_rate_history: returns the official exchange rate (GEL per 1 unit) in effect on each calendar day within a specified closed interval for a given currency, along with a summary (first, last, change, min, max, average, etc.). The interval may be at most 366 days.

A resource nbg://rates/{date} is also provided, returning the complete official exchange rate table JSON for a given date (YYYY-MM-DD or today).

Exchange rate rules

NBG sets rates on business days at approximately 17:00 Tbilisi time, effective from the next calendar day. Sundays, Mondays, or the day after a public holiday have no rate of their own and carry over the most recently set rate; in this case the returned result is marked carriedOver and includes effectiveDate. For dates NBG has not yet published (including tomorrow before approximately 17:00 Tbilisi time), the server returns an error and never guesses or returns a stale rate. Converted amounts are rounded to two decimal places (resultRounded), calculated precisely from the figures published by NBG.

How to use

Hosted connector: no installation required. On claude.ai, open Customize → Connectors → "+ Add" → "Add custom connector", paste the hosted URL and complete the addition (on Team or Enterprise plans, an administrator must add it under Connectors in Organization settings); the connector will then also appear in the Claude mobile app and Claude Desktop for the same account. On ChatGPT, open chatgpt.com/plugins, select the plus button, click "Add custom MCP server", paste the URL under Connection, disable authentication, and click "Create as a plugin" (in workspaces, an administrator may first need to allow custom MCP servers). The hosted service is run by the maintainer on AWS, requires no account, and does not log the amounts or currencies queried; for past dates, a copy of the NBG rate table is retained the first time it is queried, and the copy does not record the requester or the time. The service retainstwo types of logs for 30 days: tool call origin and whether NBG responded, and gateway access logs (time, path, status, caller IP and user agent); the logs are used only to keep the service running, understand client usage, and troubleshoot errors or abuse, and are not sold, shared, or used for advertising. The landing page sets no cookies and loads no third-party content.

Claude Desktop (macOS, Windows): download nbg-rates-mcp-latest.mcpb and open it; Claude Desktop will install and run the extension using its bundled Node.js, with no other dependencies required.

Claude Desktop (Linux beta) and manual configuration: add the server to claude_desktop_config.json; the file may not exist yet, in which case you can create it using the snippet in the documentation as its entire contents, then restart Claude Desktop. This method requires Node.js 22 or later. To make it available in all projects, add it using user scope.

Cursor and other clients: add the same mcpServers entry to the client's MCP settings. In Cursor, this is ~/.cursor/mcp.json (all projects) or .cursor/mcp.json within a project.

npx requires Node.js 22 or later (the Claude Desktop bundle does not). You can check with node --version. Installation methods include: macOS (Homebrew) brew install node; Debian and Ubuntu (NodeSource, Node.js 24) using the curl and apt commands in the documentation; other Linux distributions using the nvm install script followed by nvm install --lts; Windows (PowerShell) winget install OpenJS.NodeJS.LTS; in WSL, run the same commands as for Debian/Ubuntu.

Developer options: the same server supports Streamable HTTP; nbg-rates-mcp --http --port 3000 at http://127.0.0.1:3000/mcp Provides the service (add --host 0.0.0.0 to listen on all interfaces). On AWS Lambda, the handler is dist/lambda.handler of the npm package, with production dependencies bundled alongside it, placed behind an API Gateway HTTP API using payload format 2.0 and the $default stage. In both cases, set NBG_RATES_HTTP_HOSTS to the public hostname so the endpoint responds only to that host. Optionally, NBG_RATES_MIRROR_TABLE specifies a DynamoDB table that the same function populates from NBG on a schedule and answers from accordingly; when unset, it still queries NBG directly.

Dates and error handling

Dates are Tbilisi calendar days in YYYY-MM-DD format, and each rate is GEL per 1 unit of currency. Each tool returns results as structured content and an identical JSON text block. When it cannot answer, it returns an error result explaining the problem and next steps, for example: the date is not a real calendar day or is malformed, the history range ends before it starts, the history range exceeds 366 days, the currency is not a three-letter code or NBG did not quote it on that date/range, the conversion result is too large to represent, NBG has no effective rate on that date (the archive begins on 1995-10-14), NBG has not yet published the rate for that date, NBG did not respond normally (retryable), or the NBG response structure is not as expected (the endpoint may have changed; consider filing an issue with the package version). It returns the same message when reading a resource fails.

Use cases and limitations

Intended for AI client users who need to perform accounting, tax filing, bulk invoice conversion, or exchange-rate history analysis using Georgia's official rates. Limitations include: it relies on NBG endpoints that are not publicly documented and may change; history ranges are capped at 366 days; bulk conversion supports at most 100 items; the hosted service retains logs for 30 days; there is no account system; and the project is not affiliated with NBG.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools