get_exchange_rate

Pack: norges-bank · Endpoint: https://gateway.pipeworx.io/norges-bank/mcp

Latest (or last N) Norges Bank exchange rate for a currency against the Norwegian krone (NOK).

Parameters

NameTypeRequiredDescription
currencystringyesISO 4217 base currency code (USD, EUR, GBP, SEK, …).
last_nnumbernoReturn only the last N observations (default 1).
start_periodstringnoStart date (YYYY-MM-DD). Overrides last_n if set.
end_periodstringnoEnd date (YYYY-MM-DD).

Example call

Arguments

{
  "currency": "USD"
}

curl

curl -X POST https://gateway.pipeworx.io/norges-bank/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_exchange_rate","arguments":{"currency":"USD"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_exchange_rate', {
  "currency": "USD"
});

More examples

{
  "currency": "EUR",
  "last_n": 5
}
{
  "currency": "GBP",
  "start_period": "2024-01-01",
  "end_period": "2024-12-31"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "norges-bank": {
      "url": "https://gateway.pipeworx.io/norges-bank/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026