Norges Bank MCP Server
Enables AI agents to query Norges Bank's open data API for exchange rates, policy rates, government securities, money market data, bank liquidity, and regional network survey data.
README
Norges Bank MCP Server
An MCP (Model Context Protocol) server that gives AI agents direct access to Norges Bank's open data API. Exchange rates, policy rate, government securities, money market data, bank liquidity, and the Regional Network survey.
Built by Gervi Labs as part of an effort to create MCP servers for Norwegian public data sources.
What it does
This server exposes tools for querying data from Norway's central bank, including:
- Exchange rates for 40+ currencies against NOK (daily, monthly, annual)
- Policy rate (styringsrenten), overnight lending rate, and reserve rate
- Nowa (Norwegian overnight weighted average rate)
- Government securities: prices, yields, zero-coupon curves
- Government debt key figures and primary/secondary market data
- Bank liquidity forecasts and statistics
- Money market aggregates
- Regional Network enterprise survey data
- Financial indicators
All data comes from Norges Bank's public SDMX REST API at https://data.norges-bank.no/api/. No authentication required. Data is freely available under open license.
Quick start
Local
pip install -r requirements.txt
python server.py
The server runs on port 8007 using streamable HTTP transport.
Docker
docker build -t norges-bank-mcp .
docker run -p 8007:8007 norges-bank-mcp
Or with docker-compose:
docker compose up
Available tools
| Tool | Description |
|---|---|
nb_get_api_status |
Verify API connectivity |
nb_list_dataflows |
List all available datasets |
nb_get_dataflow_structure |
Get dimensions and valid codes for a dataset |
nb_get_data |
Fetch data with SDMX key filter |
nb_get_exchange_rate |
Quick exchange rate lookup (accepts common names) |
nb_get_policy_rate |
Current and historical policy rate |
Recommended workflow
- Discover:
nb_list_dataflows()to see all available datasets - Explore:
nb_get_dataflow_structure('EXR')to understand dimensions and valid codes - Query:
nb_get_data('EXR', 'B.USD.NOK.SP', '2024-01-01', '2026-03-30')to fetch data
Key format
The SDMX key is a dot-separated string of dimension values. Empty positions act as wildcards. Use + for multiple values in one position.
| Key | Meaning |
|---|---|
B.USD.NOK.SP |
Daily USD/NOK spot rate |
B.USD+EUR+GBP.NOK.SP |
Daily USD, EUR, and GBP vs NOK |
B..NOK.SP |
All currencies vs NOK, daily |
M.USD.NOK.SP |
Monthly USD/NOK |
A.USD.NOK.SP |
Annual USD/NOK |
Frequency codes: B (business daily), M (monthly), A (annual).
Available dataflows
| ID | Name | Description |
|---|---|---|
EXR |
Exchange rates | 40+ currencies against NOK |
IR |
Policy rate | Key rate, overnight lending, reserve rate |
SHORT_RATES |
Short rates | Nowa rate |
SEC |
Government securities | Prices and yields at market close |
GOVT_GENERIC_RATES |
Generic interest rates | Government bond yield curve |
GOVT_ZEROCOUPON |
Zero coupon yields | Nelson-Siegel-Svensson model |
GOVT_KEYFIGURES |
Key indicators | Government debt overview |
GOVT_PRIMARY_MARKET |
Primary market | Government securities auctions |
GOVT_SECONDARY_MARKET |
Secondary market | Turnover by region/investor |
GOVT_IRS |
Interest rate swaps | Government debt swaps |
MONEY_MARKET |
Money market | Aggregated reporting data |
LIQUIDITY_FORECAST |
Liquidity forecast | Bank system liquidity outlook |
LIQUIDITY_STATISTICS |
Liquidity statistics | Bank system liquidity data |
REGNET |
Regional Network | Enterprise and organisation survey |
FINANCIAL_INDICATORS |
Financial indicators | Calculated by Norges Bank |
FAUCTION |
F-auctions | Announcements and results |
SETTLEMENT_STATISTICS |
Settlement | Settlement system data |
ANN_KPRA |
Policy rate announcements | Rate decision announcements |
ANN_FX_SPU |
FX announcements | Transactions on behalf of SPU |
Exchange rate convenience
The nb_get_exchange_rate tool accepts common currency names in addition to ISO codes:
- "dollar" or "USD"
- "euro" or "EUR"
- "pound" or "sterling" or "GBP"
- "yen" or "JPY"
- "swedish" or "SEK"
- "danish" or "DKK"
- "swiss" or "franc" or "CHF"
- "yuan" or "renminbi" or "CNY"
- "TWI" for trade-weighted index
- "I44" for import-weighted index
- ... and 30+ more aliases
Related projects
Part of a growing ecosystem of MCP servers for Norwegian public data:
- SSB MCP (Statistics Norway): tools.try.no/ssb-mcp
- FHI MCP (Public Health Institute): github.com/inooLabs/fhi-mcp
Data source
All data comes from the public Norges Bank SDMX REST API. No authentication required.
- API base:
https://data.norges-bank.no/api/ - Query builder: app.norges-bank.no/query
- Documentation: norges-bank.no/en/topics/Statistics/open-data
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。