Skip to main content
Glama
OpenTickers MCP Server

OpenTickers MCP Server

by leobrog

OpenTickers MCP Server

Hosted Streamable HTTP Model Context Protocol (MCP) server for the OpenTickers central bank exchange rates and financial indicators API.

  • Hosted Endpoint: https://mcp.opentickers.com/mcp

  • Transport: Stateless Streamable HTTP (POST /mcp)

  • Authentication: Per-request Authorization: Bearer <OPENTICKERS_API_KEY> (get an API key at opentickers.com)

  • Safety: All 10 tools are strictly read-only (readOnlyHint: true, destructiveHint: false, idempotentHint: true)

Available Tools

Tool

Description

Plan

get_latest_exchange_rates

Fetch latest currency exchange rates by base/quote currency or central bank source

Free & Paid

get_historical_exchange_rates

Fetch historical FX rates over a date range with pagination

Pro / Partner

query_exchange_rates

Batch FX query with smart inversion (1/x), as_of snapshots, averages, field projection, and JSON or SAP CSV export

Pro / Partner

get_latest_financial_indicators

Fetch latest interbank rates, policy rates, yields, and macro indicators

Free & Paid

get_historical_financial_indicators

Fetch historical financial indicator series over a date range

Pro / Partner

query_financial_indicators

Batch indicator query supporting latest, as_of, historical, average, field projection, and JSON/CSV export

Pro / Partner

list_financial_indicator_catalog

Browse available financial indicator definitions filtered by source, category, currency, or tenor

Free & Paid

list_financial_indicator_categories

List all available financial indicator categories

Free & Paid

list_sources

List available central bank and official data sources with optional pair/indicator coverage

Free & Paid

list_currencies

List all supported ISO currency codes

Free & Paid

Note: query_exchange_rates and query_financial_indicators support format: "csv" with configurable csvOptions (delimiter: ";", decimalSeparator: ",", includeHeader) for SAP / SAP Joule workflows.

Related MCP server: Central Bank Rates MCP Server

Connecting an MCP Client

Create an API key at opentickers.com, then configure your client:

Generic MCP Config (Cursor, Windsurf, VS Code, etc.)

{
  "mcpServers": {
    "opentickers": {
      "url": "https://mcp.opentickers.com/mcp",
      "headers": {
        "Authorization": "Bearer ot_your_api_key_here"
      }
    }
  }
}

Google Antigravity (agy)

Install directly from GitHub as a native Antigravity plugin (bundles the opentickers remote MCP server, credential prompt for OPENTICKERS_API_KEY, and the opentickers-data skill):

agy plugin install https://github.com/leobrog/opentickers-mcp

Then enable it via /plugin in the CLI (or Customizations → Installed in the Antigravity App) to enter your OpenTickers API key.

Claude Code

claude mcp add --transport http opentickers https://mcp.opentickers.com/mcp \
  --header "Authorization: Bearer ot_your_api_key_here"

Gemini CLI

Install directly as a Gemini CLI extension (uses gemini-extension.json, which prompts securely for OPENTICKERS_API_KEY and stores it in your system keychain):

gemini extensions install https://github.com/leobrog/opentickers-mcp

Or add the remote MCP server directly:

gemini mcp add --transport http opentickers https://mcp.opentickers.com/mcp \
  --header "Authorization: Bearer ot_your_api_key_here"

Self-Hosting & Local Development

Prerequisites

  • Bun (v1.1+)

  • A running OpenTickers API backend (configured via OPENTICKERS_API_URL)

Run Locally

bun install
cp .env.example .env
# Edit .env if your API is on http://localhost:3000 instead of http://api:3000
bun run dev

Run with Docker

Ensure the shared Docker network (onerate-network) exists alongside the API container:

cp .env.example .env
docker compose up -d --build

The server listens on http://127.0.0.1:3001 (POST /mcp, GET /health). Place it behind a TLS reverse proxy for public HTTPS access.

Environment Variables

Variable

Default

Description

PORT

3001

HTTP port to listen on

OPENTICKERS_API_URL

http://api:3000

Base URL of the OpenTickers REST API

CORS_ORIGIN

*

Allowed CORS origin(s)

Testing

bun test

Publishing to MCP Registries

Official MCP Registry (registry.modelcontextprotocol.io)

server.json conforms to the 2025-12-11 MCP Registry schema under the com.opentickers/opentickers namespace.

brew install mcp-publisher
mcp-publisher login dns --domain opentickers.com --private-key <hex-key>
mcp-publisher publish

(Alternatively, set "name": "io.github.leobrog/opentickers-mcp" in server.json and authenticate with mcp-publisher login github.)

Antigravity Marketplace (antigravity-plugins-official)

plugin.json, mcp_config.json, assets/logo.svg, and skills/opentickers-data/SKILL.md form a native Antigravity plugin bundle.

  1. Validate locally with zero errors/warnings:

    agy plugin validate --strict
  2. Submit the repository through the Antigravity Marketplace partner intake form (docs: https://antigravity.google/docs/build-plugins).

  1. Add the repository topic gemini-cli-extension on GitHub (About → gear icon).

  2. Publish a GitHub Release (e.g. v1.0.0). The Gemini CLI gallery crawler indexes it automatically.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to fetch official published exchange rates from 60+ central banks and tax authorities, with point-in-time lookup, history, and cross-bank comparison.
      6
      588 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to access exchange rates for 160+ currencies, currency conversion, historical rates, time series, crypto, metal and stock prices, usage checks, and rate alerts.
      17
      109 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents and MCP clients to convert currency amounts, retrieve current, historical, and timeseries exchange rates, and list supported currencies from European Central Bank reference data.
      5
      MIT