EMI Calculator MCP Server
Provides loan EMI calculation tools including EMI amount, amortization schedule, loan comparison, and prepayment analysis.
README
First Setup EMI Calculator
<img width="867" height="326" alt="image" src="https://github.com/user-attachments/assets/ef879344-85b5-4699-86f5-be5d9e667f86" />
MCP EMI Calculator Server
Lightweight MCP server that exposes loan EMI calculation endpoints to MCP clients (for example, Claude Desktop).
Features
- STDIO-based FastMCP server that proxies to the REST backend
- Simple HTTP helper with JSON responses and 10 second timeout
- Configurable backend base URL via environment variables
Prerequisites
- Python 3.10+
- uv for environment management (pip-compatible)
Install uv if you do not already have it:
- macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows (PowerShell):
powershell -ExecutionPolicy Bypass -Command "iwr -useb https://astral.sh/uv/install.ps1 | iex"
Quickstart (uv workflow)
- Clone or download this repository.
- From the project root, create a virtual environment (stored in
.venvby default):uv venv - Activate the environment:
source .venv/bin/activate # macOS/Linux .venv\Scripts\Activate.ps1 # Windows (PowerShell) - Install dependencies:
uv pip install -r requirements.txt - Create a
.envfile (if you do not already have one) with the backend base URL:EMI_API_BASE_URL=http://localhost:8000/api - Run the MCP server (communicates via STDIO):
uv run python emi_calculator.py
MCP Client Registration (Claude Desktop example)
Add to your claude_desktop_config.json:
"emiMcpServer": {
"command": "uv",
"args": [
"--directory",
"mcp_emi_server project path",
"run",
"emi_calculator.py"
]
},
Configuration (.env)
EMI_API_BASE_URL— base URL of the backend EMI APIs (default: http://localhost:8000/api)
Tools exposed
calculate_emi—{principal, interestRate, tenure, calculation_method?}→ EMI summarycalculate_schedule—{principal, interestRate, tenure, calculation_method?}→ amortization schedulecompare_loans—{scenarios: [{name, principal, interestRate, tenure, calculation_method?}, ...]}→ side-by-side comparisoncalculate_with_prepayment—{principal, interestRate, tenure, prepayment_amount, prepayment_frequency, prepayment_start_month, calculation_method?}→ EMI with recurring prepayments
Troubleshooting
- Ensure the backend EMI API is running and reachable.
- Check stderr logs for detailed errors.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.