@karashiiro/exchange-rate-mcp
v1.0.1
Published
MCP server providing exchange rate data from Norges Bank API
Downloads
107
Readme
Exchange Rate MCP Server
This is a Model Context Protocol (MCP) server that provides access to exchange rate data from the Norges Bank API.
Overview
The Exchange Rate MCP exposes a single tool called exchange_rate that allows an LLM or other clients to fetch exchange rates between different currencies.
Usage
npx -y @karashiiro/exchange-rate-mcpDevelopment
Installation
pnpm installBuild
pnpm buildRun
pnpm startUsage
The server exposes a single tool:
exchange_rate
Fetches the exchange rate between two currencies.
Parameters:
baseCurrency(string, required): The base currency code (e.g., NOK, USD)targetCurrency(string, required): The target currency code (e.g., EUR, USD)date(string, optional): Date in YYYY-MM-DD format. Defaults to latest available rate.
Example Response:
{
"baseCurrency": "NOK",
"targetCurrency": "USD",
"date": "2025-04-04",
"rate": 0.12345
}