sek-fx-mcp
About
En Model Context Protocol-server (MCP) som kopplar en LLM till Riksbankens API för kronans växelkurs.
Details
- Author
- bromaniac
- Downloads
- 331
- Categories
- Other
Jump to
- Fetches live exchange rates from Riksbanken's API
- Accepts ISO 4217 currency codes (NOK, EUR, GBP, etc.)
- Converts any supported currency to Swedish Kronor (SEK)
- Rate-limited: 5 calls per minute, 1000 per day
- Supports optional API key for higher request limits
- Implemented in Python using the MCP SDK
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
sek-fx-mcpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Ensure Python and uv are installed, then run uv run mcp install server.py in the project directory. Optionally set the RIKSBANKEN_API_KEY environment variable if you need higher rate limits. The server has been tested with Claude Desktop on macOS.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"sek-fx-mcp": {
"sek-fx-mcp": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"server.py"
]
}
}
}
}
McpServers
{
"sek-fx-mcp": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"server.py"
]
}
}
sek-fx-mcp
Detta är en Python-implementering av Model Context Protocol (MCP), som är ett verktyg för att hantera kommunikation mellan applikationer och stora språkmodeller (LLM).
Den kontaktar Riksbankens API och frågar efter växlingskursen för en viss valuta till svenska kronor. Den accepterar ISO 4217-koden för valutor dvs NOK (norska kronor), EUR (Euro), GBP (brittiska pund) etc.
Riksbanken har en begränsning på antalet anrop från samma ip-adress inom ett visst tidsspann (5 anrop per minut och maximalt 1000 anrop per dygn). Krävs fler anrop än detta behövs en API-nyckel. Se länk till Riksbanken längre ner för information hur du skaffar en nyckel. Sätt nyckeln i miljövariabeln RIKSBANKEN_API_KEY.
Testad i Claude Desktop i MacOS. Kräver Python och uv.
Installation:
uv run mcp install server.py
Vidare läsning:
https://en.wikipedia.org/wiki/ISO_4217https://github.com/modelcontextprotocol/python-sdk
https://www.riksbank.se/sv/statistik/rantor-och-valutakurser/hamta-rantor-och-valutakurser-via-api/
https://modelcontextprotocol.io/introduction
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



