Content
<div align="center">
<h1>ExchangeRate API MCP Server</h1>
[](LICENSE)
[](go.mod)
</div>
A lightweight Model Context Protocol (MCP) server that enables artificial intelligence assistants such as Claude to retrieve real-time currency exchange rate data.
<div align="center">
<img alt="demo example" src="exchange_rate.png" width="480" height="400">
</div>
## Installing on Claude Desktop
To use your MCP server with Claude Desktop, add it to your Claude configuration:
#### 1. Local mode
```json
{
"mcpServers": {
"mcp-exchange-rate": {
"command": "/path/to/mcp-exchange-rate",
"args": [],
"env": {}
}
}
}
```
You can get an API key from your personal account on [exchangerate](https://v6.exchangerate-api.com/).
## Build from source
```shell
go build -o mcp-exchange-rate ./cmd/mcp-exchange-rate
```
## Project Structure
The project is organized into several key directories:
```shell
├── cmd
│ └── mcp-exchange-rate
├── internal
│ └── resp # MCP response
│ └── server # MCP run server
│ └── service # application login
│ └── tools # MCP tools
```