Integrations

MCP Server Documentation

Connect Claude, Cursor, VS Code, and other AI assistants to CurrencyCore over MCP. Includes tools, parameters, limits, setup, and troubleshooting.


CurrencyCore runs a hosted MCP (Model Context Protocol) server so AI assistants can convert currencies, fetch rates, run historical analysis, and apply PPP from natural language.

Point a compatible client at:

https://mcp.currency-core.com/mcp

It is a remote Streamable-HTTP server with OAuth. On first connect, the client opens a browser where you sign in and choose an organization. Tool calls then run against that organization like a normal API key, with the same limits, metering, and billing. The authorization uses standard OpenID Connect scopes (openid, profile, email, offline_access) plus the baseline mcp:tools scope. There are no separate per-tool scopes; plan gating happens at call time.

See the MCP server page for details and the Claude and Cursor setup pages.

Tools

The server exposes 14 tools: two reference tools and twelve keyed tools. Reference tools are unmetered. Tool discovery (initialize and tools/list) and reference tool calls work without signing in, so clients can show the full catalogue before an account is connected. Calling a keyed or analytics tool returns a 401 challenge and starts the OAuth flow. Analytics tools also need Growth or higher.

Core tools, all plans

ToolWhat it doesParameters
convertConvert an amount at reference rates, optionally PPP-adjustedfrom, to, amount, ppp, date
get_ratesUSD-base rate snapshotdate
get_rates_by_baseSnapshot against another basebase, date
get_historyDaily rate series for one currencycurrency, from, to, base, interval
get_ppp_factorPPP conversion factor for a country and yearcountry, year

Analytics tools, Growth+

All analytics tools accept from and to; analyze_history and analyze_ppp also accept period. Common optional parameters are base and limit.

ToolDistinctive parameters
analyze_historycurrencies, sort, assetClass, interval, stats
analyze_pppcountries, sort, stats
analyze_volatilitycurrency, sort, universe
analyze_correlationcurrencies
analyze_drawdowncurrency, sort, universe
analyze_safe_havencurrencies
analyze_mean_reversioncurrencies

Reference tools

ToolWhat it does
list_countriesSupported countries and their official currency codes
list_currenciesSupported ISO 4217 codes and names

Install

For Claude, open Settings > Connectors > Add custom connector and enter the server URL, then complete the OAuth sign-in. Current Claude Desktop builds use that connector flow. Older builds that document remote servers in claude_desktop_config.json use the entry below:

{
  "mcpServers": {
    "currencycore": {
      "url": "https://mcp.currency-core.com/mcp"
    }
  }
}

For Cursor, use the one-click install or add the server to Cursor Settings or .cursor/mcp.json:

{
  "mcpServers": {
    "currency-core": { "url": "https://mcp.currency-core.com/mcp" }
  }
}

For VS Code, add this to .vscode/mcp.json or your user MCP settings:

{
  "servers": {
    "currency-core": { "type": "http", "url": "https://mcp.currency-core.com/mcp" }
  }
}

For Claude Code and Gemini CLI, install the plugin or extension from the open-source repository:

claude plugin marketplace add CurrencyCore/currency-core-mcp
claude plugin install currency-core-mcp@currencycore

gemini extensions install https://github.com/CurrencyCore/currency-core-mcp

On first use, authenticate through the client’s MCP menu. In Claude Code, run /mcp, select currency-core, and choose Authenticate.

Limits and billing

  • Each successful keyed tool call is one API request against the monthly quota and per-minute limit. Reference tools are unmetered. Analytics tools require Growth or higher and return 403 below it.
  • MCP is included on every plan. The Developer panel can turn it off, which returns 403 for MCP calls without affecting normal API keys.
  • Tool results carry _meta["currencycore/tool_calls"] and _meta["currencycore/billed_requests"] for usage reconciliation.
  • The server makes one retry for transient network, 429, and 5xx failures, with jittered backoff. Per-attempt timeout defaults to 15 seconds.
  • Retry-After is capped at 5 seconds in tool metadata. For longer waits, retry from the client.
  • Analytics calls draw on the same plan limits as the REST endpoints. See Rate Limits and Plan Quotas.

Troubleshooting

SymptomLikely causeFix
No tools listedThe client is not authenticated.Reconnect and complete the browser sign-in.
401 or a reauthentication noticeThe OAuth token expired or access was revoked.Reconnect and choose the organization again.
403, MCP access disabledThe organization turned MCP off.Re-enable it in the Developer panel.
403 on analyticsThe organization is on Free or Starter.Upgrade to Growth or higher.
429 rate_limitedThe per-minute or monthly limit was reached.Wait for Retry-After or check the plan quota.
Missing required path parameterA path parameter such as base was omitted.Supply it; no default path value is used.
Tool call times outThe request is too large or the API was cold.Narrow the window or currency set, then retry once.
Tool not foundThe client cached an older tool list.Restart the client or refresh its MCP connection.

Usage tips

  • PPP needs a country only for ambiguous currencies. Common currencies resolve automatically (USD to USA, INR to IND, EUR to DEU), so from=USD&to=INR&ppp=true works. Pass CUR:COUNTRY when a currency spans several countries or you need a specific one, for example to=EUR:DEU,EUR:FRA. See the convert endpoint.
  • amount defaults to 1, so omit it for the effective rate.
  • Dates are UTC and cannot be in the future. Omit date for the latest snapshot.
  • Use period for trends. analyze_history and analyze_ppp accept 1y, 5y, ytd, or 6m. The other analytics tools accept only from and to.

The MCP server is a thin authenticated proxy over the REST API. Every call obeys the same authentication, rate limits, and error handling.

Next steps