sek-fx-mcp
by bromaniac
sek-fx-mcp is a Python implementation of the Model Context Protocol (MCP) for managing communication between applications and large language models (LLMs). It fetches exchange rates from the Riksbanken API for a given currency to Swedish Krona.
Last updated: N/A
What is sek-fx-mcp?
This server is a Python implementation of the Model Context Protocol (MCP) that retrieves currency exchange rates from the Riksbanken API. It allows applications and LLMs to access real-time exchange rate data for various currencies against the Swedish Krona (SEK).
How to use sek-fx-mcp?
- Install Python and uv.
- Install the server using the command:
uv run mcp install server.py
. - If you require more than 5 API calls per minute or 1000 per day, obtain an API key from Riksbanken and set it as the environment variable
RIKSBANKEN_API_KEY
.
Key features of sek-fx-mcp
Implements Model Context Protocol (MCP)
Fetches currency exchange rates from Riksbanken API
Supports ISO 4217 currency codes
Rate limiting to comply with Riksbanken API restrictions
Optional API key support for higher usage
Use cases of sek-fx-mcp
Integrating real-time currency exchange rates into applications
Providing currency conversion data to LLMs
Building currency tracking tools
Automating financial calculations involving SEK
Creating chatbots with currency conversion capabilities
FAQ from sek-fx-mcp
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a tool for managing communication between applications and large language models (LLM).
What currencies are supported?
What currencies are supported?
The server supports any currency with an ISO 4217 code, such as NOK, EUR, and GBP.
What are the Riksbanken API rate limits?
What are the Riksbanken API rate limits?
The Riksbanken API is limited to 5 calls per minute and 1000 calls per day from the same IP address.
Do I need an API key?
Do I need an API key?
An API key is only required if you need to make more than 5 API calls per minute or 1000 calls per day.
Where can I get an API key?
Where can I get an API key?
Information on obtaining an API key can be found on the Riksbanken website (see the link in the README).