Skip to main content
Glama
mauryaharsh784

Currency Converter MCP Server

šŸ’± Currency Converter MCP Server A simple Model Context Protocol (MCP) server built with Node.js that provides a currency conversion tool and can be connected to Claude Desktop.

Features

  • Currency conversion through an MCP tool

  • Works with Claude Desktop

  • Built using the official MCP TypeScript/JavaScript SDK

  • Uses stdio transport

  • Input validation with Zod

  • Simple and easy-to-extend project structure

Related MCP server: Realtime Exchange Rate MCP Server

Tech Stack

  • Node.js

  • JavaScript (ES Modules)

  • Model Context Protocol (MCP)

  • @modelcontextprotocol/sdk

  • Zod

  • Claude Desktop

Project Structure

MCP Server/
ā”œā”€ā”€ currencyConvertered.js
ā”œā”€ā”€ package.json
ā”œā”€ā”€ package-lock.json
ā”œā”€ā”€ image/
│   └── image.png
└── README.md

Screenshot

Project Structure in VS Code

Project Structure

The screenshot shows the MCP Server project structure in VS Code, including the image folder and image.png file.

Installation

Open PowerShell/Terminal inside the project folder:

npm install

Run the Server

npm start

You should see:

MCP Currency Converter Server started

MCP Tool

The server provides the following tool:

convertCurrency

Converts an amount from one currency to another.

Example input:

amount: 100
from: USD
to: INR

Example output:

100 USD = 8800.00 INR

Note: The current demo uses a hardcoded exchange rate of 88. It is not a live exchange-rate API.

Claude Desktop Configuration

Add the following configuration to the Claude Desktop MCP configuration file:

{
  "mcpServers": {
    "currency-converter": {
      "command": "node",
      "args": [
        "C:\Users\Harsh Vardhan Maurya\OneDrive\Desktop\MCP Server\currencyConvertered.js"
      ]
    }
  }
}

After saving the configuration, restart Claude Desktop.

Then open:

Settings → Developer

You should see:

currency-converter — Running

Testing

In Claude Desktop, try:

Convert 100 USD to INR using the currency converter.

The MCP server will call the convertCurrency tool and return the converted amount.

Future Improvements

  • Add a live exchange-rate API

  • Support more currencies

  • Add currency validation

  • Add error handling for unsupported currencies

  • Add more MCP tools

Author

Harsh Vardhan Maurya

License

ISC

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Local service for currency rates and conversion using MCP and agent layer. Accepts user requests, selects appropriate tool, and returns structured responses.
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    Provides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.
    4
    127
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    Enables real-time currency exchange rate queries between any two currencies using ExchangeRate API, with automatic triggering by AI models through the MCP protocol.
    1
    1
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mauryaharsh784/MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server