Finance
Data source: ECB, Norges Bank
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/ecb-norgesbank/
7 endpoints available:
GET /rest/ecb-norgesbank/get_ecb_exchange_rateGET /rest/ecb-norgesbank/list_ecb_exchange_ratesGET /rest/ecb-norgesbank/get_ecb_policy_rateGET /rest/ecb-norgesbank/get_norges_bank_exchange_rateGET /rest/ecb-norgesbank/list_norges_bank_exchange_ratesGET /rest/ecb-norgesbank/get_norges_bank_policy_rateGET /rest/ecb-norgesbank/report_feedback
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())
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_rateGet the ECB official reference rate for a currency vs EUR.
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | required | ISO 4217 currency code (e.g. "USD", "GBP", "JPY", "NOK"). |
date | any | optional | Optional date in ISO 8601 format (YYYY-MM-DD). If omitted, returns the most recent available rate. |
list_ecb_exchange_ratesList all ECB official reference exchange rates for a given date.
| Parameter | Type | Required | Description |
|---|---|---|---|
date | any | optional | Optional date in ISO 8601 format (YYYY-MM-DD). If omitted, returns the most recent available rates. |
get_ecb_policy_rateGet ECB key interest rate history.
| Parameter | Type | Required | Description |
|---|---|---|---|
rate_type | string | optional | Which 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_from | any | optional | Optional start date (YYYY-MM-DD). Defaults to last 10 changes. |
date_to | any | optional | Optional end date (YYYY-MM-DD). |
get_norges_bank_exchange_rateGet Norges Bank official exchange rate for a currency vs NOK.
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | required | ISO 4217 currency code (e.g. "EUR", "USD", "GBP", "SEK"). |
date_from | any | optional | Optional start date (YYYY-MM-DD). If neither date is given, returns the most recent available rate. |
date_to | any | optional | Optional end date (YYYY-MM-DD). |
list_norges_bank_exchange_ratesList all Norges Bank exchange rates for a given date (or latest).
| Parameter | Type | Required | Description |
|---|---|---|---|
date | any | optional | Optional date (YYYY-MM-DD). If omitted, returns the latest available. |
get_norges_bank_policy_rateGet Norges Bank key policy rate (styringsrente) history.
| Parameter | Type | Required | Description |
|---|---|---|---|
date_from | any | optional | Optional start date (YYYY-MM-DD). Defaults to last 10 decisions. |
date_to | any | optional | Optional end date (YYYY-MM-DD). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |