MCP for Cursor · Agent mode · Free on every plan

Set up CurrencyCore MCP in Cursor.
Built for agent workflows.

Cursor agents writing pricing, billing, or fintech code can pull central-bank reference rates, PPP data, and history in the same session. Add one server entry, authenticate once, and the agent can call CurrencyCore while it writes.

MCP included on every plan · OAuth on first connect · Central-bank reference rates

// .cursor/mcp.json in the project root
{
  "mcpServers": {
    "currency-core": {
      "url": "https://mcp.currency-core.com/mcp"
    }
  }
}
Setup

Two ways to connect Cursor.

Use the Settings flow for a quick connection or a project file when the whole repository should share the server.

Option A

Customize > MCP

Open Cursor Settings, then Customize, then MCP, and add a new server with the remote URL https://mcp.currency-core.com/mcp. Cursor keeps the connection in its own config.

  • Best for a one-off setup on your machine.
  • No repository file to commit.
  • Cursor starts the browser sign-in when its initialize or tools/list request gets a 401 with a WWW-Authenticate challenge.
  • Check the MCP log in the Output panel if the server does not connect.
Option B

Project or global JSON

Create .cursor/mcp.json in the project root, or edit ~/.cursor/mcp.json for every project. Paste the block from the hero and save.

  • Best when the server should travel with the repo.
  • Use the global file for a personal default.
  • Keep one source of truth if you also use Settings.

Verify the connection

Open Customize, then MCP, and confirm that currency-core is listed. Then ask the agent to use CurrencyCore in a prompt. If the browser sign-in did not open, reload the window so Cursor retries initialize and receives the 401 WWW-Authenticate challenge, then check the MCP log in the Output panel. Cloud agents do not reuse your local sign-in and must authenticate separately.

Open troubleshooting
Tool table

What the agent can call while coding.

Cursor chooses tools from the task. This table covers every tool on the server; name one in the prompt when you want a specific calculation.

Tool What Cursor can do with it Plan
convertConvert prices, totals, and invoice amounts while generating code. Add ppp=true for local pricing.All plans
get_ratesPull a USD-base rate snapshot for seed data, fixtures, or a dashboard.All plans
get_rates_by_baseGet the same snapshot against EUR, INR, or another base currency.All plans
get_historyFetch a dated series for backtests, charts, and historical invoice rates.All plans
get_ppp_factorGet one country's IMF PPP conversion factor for a year, with a projected flag.All plans
analyze_historySummarize trends before the agent chooses a chart or pricing rule.Growth+
analyze_pppCompare purchasing power before setting local prices.Growth+
analyze_volatilityCheck FX risk when writing treasury, billing, or reporting logic.Growth+
analyze_correlationTest whether two currencies move together in a risk model.Growth+
analyze_drawdownMeasure peak-to-trough decline and recovery speed for a currency.Growth+
analyze_safe_havenScore currencies on stability, drawdown, and crisis behavior.Growth+
analyze_mean_reversionCheck how strongly a currency returns to its historical average.Growth+
list_countriesResolve country names to ISO codes before generating config or fixtures.All plans
list_currenciesList supported ISO 4217 codes and names for fixtures and validation.All plans

The same data is available over HTTP from the currency API. Full parameter schemas are in the MCP tool reference.

Security and scopes

What Cursor can reach, and how to cut it off.

The connection is a read-only OAuth grant bound to one CurrencyCore organization. No API key is stored in your repository.

Scopes and org

Read-only, organization-scoped

The protected resource is https://mcp.currency-core.com/mcp. Unauthenticated initialize and tools/list calls return 401 with a WWW-Authenticate challenge, which is how Cursor finds the OAuth server. The mcp:tools scope is the baseline for tool access, with openid, profile, email, and offline_access for sign-in and token refresh. Every currency tool is read-only. The organization you choose on the consent screen owns the connection and the quota.

  • Reconnect and choose another org to switch context.
  • Membership is revalidated on every request.
  • No write scope and no separate MCP key.
Revocation

Disconnect, remove, or pause

Disconnect the server in Cursor, or remove the user from the organization. Removed members get a 401 on the next call. The Developer panel switch blocks MCP traffic for the org immediately without revoking the OAuth grant.

  • Token revalidation happens on every API request.
  • A short cache bounds revocation delay to about 15 seconds.
  • The dashboard shows usage before you disable access.

Details are in the MCP docs and the authentication reference.

Agent workflows

Two workflows that use real data.

Each workflow starts with a prompt you can paste into Cursor's agent. The agent decides which tools to call and writes the code around the result.

01

Build a local pricing page

"Build a pricing page with USD, INR, and EUR prices. Use PPP so the India price reflects local purchasing power, and show the FX rate you used."

Resolve codes list_countries {}

The agent gets the official country and currency codes before it builds the price map.

Get prices convert { from: "USD:USA", to: "INR:IND,EUR:DEU", amount: 49, ppp: true }

The result includes the plain FX values and the PPP-adjusted values.

Write the page const prices = { US: 49, IN: 1000, DE: 35.28 };

The agent writes the component and can include the rate date in a comment or a data attribute.

Example response
{
  "from": "USD", "fromCountry": "USA",
  "amount": 49, "date": "2026-06-22",
  "results": [
    { "to": "INR", "toCountry": "IND", "result": 4087.58,
      "rate": 83.42, "ppp": { "fromFactor": 1.0, "toFactor": 20.4,
        "result": 999.60 } },
    { "to": "EUR", "toCountry": "DEU", "result": 44.79,
      "rate": 0.914, "ppp": { "fromFactor": 1.0, "toFactor": 0.72,
        "result": 35.28 } }
  ]
}
02

Convert an invoice on its issue date

"Add a helper that converts invoice totals from EUR to USD using the rate on the invoice date, and store the rate with the invoice."

Get the dated rate convert { from: "EUR", to: "USD", amount: 1250, date: "2026-05-15" }

The agent uses the invoice date, not today's rate, so the record stays auditable.

Need a series? get_history { currency: "EUR", base: "USD", from: "2026-05-01", to: "2026-05-31" }

Use the history tool when the task needs a chart or a backtest instead of one invoice.

Write the helper type Invoice = { total: number; currency: "EUR"; rate: number; rateDate: string };

The agent stores the rate and rate date beside the converted total.

Example response
{
  "from": "EUR", "amount": 1250,
  "date": "2026-05-15",
  "results": [
    { "to": "USD", "result": 1368.75, "rate": 1.095 }
  ]
}

Need the raw JSON for each call? The MCP examples cookbook has request arguments and responses for the most-used tools.

Troubleshooting

If Cursor cannot see the server.

Most problems are a config that Cursor did not reload, a JSON syntax error, or an unfinished OAuth sign-in.

Server missing from Customize > MCP

Check whether you saved .cursor/mcp.json in the project root or the global file in your home directory. Reload the Cursor window after editing, then open the MCP log in the Output panel.

JSON is rejected

Cursor expects JSON. Remove comments and trailing commas, and make sure the server entry sits inside mcpServers.

Sign-in did not finish

Reload the window so Cursor retries initialize and receives the 401 WWW-Authenticate challenge, then complete the browser flow. Choose the CurrencyCore organization before returning to Cursor. The Output panel's MCP log shows callback errors.

Only two tools and no sign-in

If your deployment predates the OAuth discovery fix, Cursor may list only list_countries and list_currencies and never open a browser. Remove and re-add the server, then follow the troubleshooting guide.

A tool returns 403

Analytics tools such as analyze_ppp and analyze_volatility need Growth or higher. Core conversion and rate tools work on Free.

A call returns 429

Wait for the Retry-After value before retrying. MCP results also expose the delay in _meta. Per-minute limits and monthly quotas match the REST API.

The connection was revoked

Reconnect from Cursor's MCP panel and complete the browser sign-in. If your organization removed you, ask an owner to invite you again.

History is limited

Free plans can read the last 30 days from get_history. For older dates, upgrade the organization or request a recent range.

The agent ignores the tools

Name CurrencyCore in the prompt, for example "use the CurrencyCore MCP convert tool", and confirm the server shows as connected.

A cloud agent cannot connect

Cloud agents run in a separate environment and do not reuse your local OAuth session. Authenticate CurrencyCore in that environment separately. Local MCP logs will not show cloud runs.

FAQ

Cursor MCP questions

How do I add CurrencyCore MCP to Cursor?

Open Cursor Settings, then Customize, then MCP, and add a new server with https://mcp.currency-core.com/mcp. You can also create .cursor/mcp.json in the project root with the currency-core server entry. Authenticate in the browser on first use.

Should I use .cursor/mcp.json or Cursor Settings?

Use .cursor/mcp.json when the connection should travel with the repository. Use Customize, MCP, or ~/.cursor/mcp.json when you want CurrencyCore available in every project on your machine. Keep one source of truth to avoid confusion.

Does CurrencyCore work in Cursor's agent mode?

Yes. Cursor agents discover the MCP tools and call them when a task needs current currency data. You can also name CurrencyCore in the prompt to make the agent reach for the server.

Why do CurrencyCore tools not show in Cursor?

Check Customize, MCP for a connected currency-core server, confirm the JSON has no comments or trailing commas, and reload the Cursor window. Open the MCP log in the Output panel for connection and OAuth errors.

Do Cursor cloud agents use my local MCP sign-in?

No. Cloud agents run in a separate environment and do not reuse your local OAuth session. Connect and authenticate the CurrencyCore server in that environment separately. Local MCP logs do not show cloud agent runs.

MCP access and commercial use are included on every plan, including Free, subject to plan quotas and rate limits. See pricing for request limits and analytics entitlements. More detail: MCP documentation, OAuth and access, troubleshooting, and MCP vs REST.

Give Cursor agents real currency data.
Not hardcoded rates.

Free tier: 1,000 requests per month. MCP included. Commercial use is allowed on every plan, including Free. No credit card required.

Connect your agent Create a free account