trackmcp
Back to directory
karashiiro

exchange-rate-mcp

View on GitHub

Toy MCP server that provides access to exchange rate data from the Norges Bank API.

2 stars TypeScriptDeveloper Kits Updated Sep 18, 2025

Documentation

Exchange Rate MCP Server

This is a Model Context Protocol (MCP) server that provides access to exchange rate data from the Norges Bank API.

This is just a toy project and isn't meant to be used seriously.

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

bash
npx -y @karashiiro/exchange-rate-mcp

Development

Installation

bash
pnpm install

Build

bash
pnpm build

Run

bash
pnpm start

Usage

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:
json
{
  "baseCurrency": "NOK",
  "targetCurrency": "USD",
  "date": "2025-04-04",
  "rate": 0.12345
}

Frequently asked questions

What is exchange-rate-mcp?

exchange-rate-mcp is Toy MCP server that provides access to exchange rate data from the Norges Bank API.

How do I install exchange-rate-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is exchange-rate-mcp open source?

Yes — it is hosted on GitHub at https://github.com/karashiiro/exchange-rate-mcp and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP