GnistAI GnistAI
Log in

ECB & Norges Bank

Comprehensive central bank data — official ECB and Norges Bank exchange rates, policy rates, and historical series.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 Finance

Data source: ECB, Norges Bank

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/ecb-norgesbank/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-ecb-norgesbank": {
      "url": "https://context.gnist.ai/mcp/ecb-norgesbank/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/ecb-norgesbank/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_ecb_exchange_rate", "arguments": {"currency": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/ecb-norgesbank/

7 endpoints available:

Shell
curl "https://context.gnist.ai/rest/ecb-norgesbank/get_ecb_exchange_rate?currency=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/ecb-norgesbank/get_ecb_exchange_rate",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "currency": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc ecb-norgesbank

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (7)

get_ecb_exchange_rate
Get the ECB official reference rate for a currency vs EUR.
ParameterTypeRequiredDescription
currencystringrequiredISO 4217 currency code (e.g. "USD", "GBP", "JPY", "NOK").
dateanyoptionalOptional date in ISO 8601 format (YYYY-MM-DD). If omitted, returns the most recent available rate.
list_ecb_exchange_rates
List all ECB official reference exchange rates for a given date.
ParameterTypeRequiredDescription
dateanyoptionalOptional date in ISO 8601 format (YYYY-MM-DD). If omitted, returns the most recent available rates.
get_ecb_policy_rate
Get ECB key interest rate history.
ParameterTypeRequiredDescription
rate_typestringoptionalWhich ECB rate to fetch: - "deposit_facility" (default) — rate on bank deposits at ECB overnight - "main_refinancing" — rate on main refinancing operations (MRO) - "marginal_lending" — rate o... (default: "deposit_facility")
date_fromanyoptionalOptional start date (YYYY-MM-DD). Defaults to last 10 changes.
date_toanyoptionalOptional end date (YYYY-MM-DD).
get_norges_bank_exchange_rate
Get Norges Bank official exchange rate for a currency vs NOK.
ParameterTypeRequiredDescription
currencystringrequiredISO 4217 currency code (e.g. "EUR", "USD", "GBP", "SEK").
date_fromanyoptionalOptional start date (YYYY-MM-DD). If neither date is given, returns the most recent available rate.
date_toanyoptionalOptional end date (YYYY-MM-DD).
list_norges_bank_exchange_rates
List all Norges Bank exchange rates for a given date (or latest).
ParameterTypeRequiredDescription
dateanyoptionalOptional date (YYYY-MM-DD). If omitted, returns the latest available.
get_norges_bank_policy_rate
Get Norges Bank key policy rate (styringsrente) history.
ParameterTypeRequiredDescription
date_fromanyoptionalOptional start date (YYYY-MM-DD). Defaults to last 10 decisions.
date_toanyoptionalOptional end date (YYYY-MM-DD).
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related