AMFI MCP Server
Allows GitHub Copilot to search for Indian mutual fund schemes and retrieve latest NAVs from AMFI.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AMFI MCP ServerWhat's the latest NAV of Parag Parikh Flexi Cap?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AMFI MCP Server
An open-source Model Context Protocol (MCP) server that gives any AI assistant access to official Indian mutual-fund NAV data from AMFI (the Association of Mutual Funds in India).
Ask Claude, GitHub Copilot, Cursor, or any MCP-compatible client things like "What's the latest NAV of Parag Parikh Flexi Cap?" and get a real, current answer — using AMFI's official, free, no-API-key feed.
Why this exists
AI models don't know today's mutual-fund NAVs, and most existing market-data MCP servers cover US stocks — not Indian mutual funds. This server fills that gap with the authoritative Indian source, and needs no API key.
Related MCP server: BharatPay MCP
Tools
Tool | What it does |
| Find schemes by name (e.g. "hdfc small cap"), returning each scheme's code and latest NAV. |
| Get the latest official NAV and date for one scheme, by its numeric AMFI code. |
Data source: AMFI's daily NAVAll feed.
Install
git clone https://github.com/SetuAI/amfi-mcp-server.git
cd amfi-mcp-server
pip install -e .Run
amfi-mcpThe server communicates over stdio, so it will sit quietly waiting for an MCP client to connect. To inspect it by hand:
npx @modelcontextprotocol/inspector amfi-mcpThen: Connect → Tools → List Tools → try search_mutual_funds with
hdfc small cap, then get_fund_nav with a scheme code from the results.
Connect it to an AI client
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"amfi": {
"command": "amfi-mcp"
}
}
}(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json. Fully quit and reopen
Claude Desktop afterwards.)
VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"amfi": {
"command": "amfi-mcp"
}
}
}Click Start, open Copilot Chat, switch to Agent mode, and ask a mutual-fund question.
Example prompts
"Search for HDFC small cap funds and give me their latest NAVs."
"What's the NAV of scheme code 122639?"
"Find Parag Parikh flexi cap and tell me today's value."
How it works
amfi_client.pydownloads and parses AMFI's NAV file, caches it in memory (refreshing at most once per hour), and offers the lookups.server.pywraps those lookups as MCP tools withFastMCP.
The NAV file updates once per business day, so values are accurate as of AMFI's last publishing day. This project is not affiliated with AMFI; it simply reads AMFI's public feed. Data is provided as-is, for informational purposes, and is not investment advice.
Requirements
Python 3.10+
Outbound internet access to
www.amfiindia.com
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MFAPI.in MCP — Indian mutual-fund NAV (net asset value) data.
India's financial MCP — cards, loans, FDs, insurance, MFs; EMI/SIP/tax calcs; NAV lookup; RAG.
Live & historical FX rates and currency conversion for AI agents. No API keys.
Live & historical FX rates and currency conversion for AI agents. No API keys.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to real-time Indian stock market data with 34 tools for search, screening, analysis, portfolio tracking, and market insights across all NSE and BSE stocks.136 npm65MIT
- AlicenseAqualityCmaintenanceProvides AI agents with Indian fintech utilities including IFSC bank lookups, PAN/GSTIN validation, mutual fund NAVs, UPI VPA identification, pincode lookups, and INR formatting, all with zero authentication and zero cost.7MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Indian mutual fund NAV data through MFAPI.in, providing net asset value information and fund details.7 npmMIT
- FlicenseNot gradedqualityBmaintenanceConnects AI assistants to Kuvera mutual fund portfolios, enabling real-time queries about holdings, performance, and fund details.-