mftool-mcp

mftool-mcp

MCP Server for publicly available real-time Indian Mutual Funds data

Category
Visit Server

README

<!-- mcp-name: io.github.NayakwadiS/mftool-mcp -->

๐Ÿ‡ฎ๐Ÿ‡ณ mftool-mcp

MCP Server for publicly available Indian Mutual Funds data
Powered by mftool ยท Works with Claude, Cursor, and any MCP-compatible LLM client

PyPI Python 3.10+ License: MIT MCP


What is this?

mftool-mcp is a Model Context Protocol (MCP) server that gives any LLM client access to live Indian Mutual Fund data from AMFI (Association of Mutual Funds in India).

Ask your AI assistant questions like:

  • "What is the current NAV of SBI Bluechip Direct Growth?"
  • "Show me 3-year returns for HDFC Midcap Opportunities Fund"
  • "List all schemes under Mirae Asset AMC"
  • "Find all flexi cap funds and compare their 5-year returns"

Tools Available

Tool Description
get_scheme_quote Live NAV for any scheme by code
get_scheme_details Fund house, type, category, start date
get_scheme_historical_nav Full NAV history (all dates)
get_scheme_historical_nav_for_dates NAV history within a date range
get_scheme_codes All AMFI scheme codes and names
get_available_schemes All schemes under a specific AMC
is_valid_scheme_code Validate a scheme code
search_scheme_by_name Find scheme codes by keyword
get_equity_scheme_performance Daily equity fund performance (1Y/3Y/5Y)
get_debt_scheme_performance Daily debt fund performance
get_hybrid_scheme_performance Daily hybrid fund performance
get_elss_scheme_performance ELSS / tax-saving fund performance

Quick Start

Using uvx (Recommended โ€” no install needed)

uvx mftool-mcp

Using pip

pip install mftool-mcp
mftool-mcp

Claude Desktop Setup

Add this to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "mftool-mcp": {
      "command": "uvx",
      "args": ["mftool-mcp"]
    }
  }
}

Restart Claude Desktop. You'll see mftool-mcp listed under connected tools.


Cursor / Other MCP Clients

In your MCP client settings, add:

{
  "mftool-mcp": {
    "command": "uvx",
    "args": ["mftool-mcp"]
  }
}

Example Conversations

Finding a fund:

You: "Find all SBI midcap mutual fund scheme codes"
Claude: calls search_scheme_by_name(query='midcap', amc_name='sbi')
Claude: "Here are the SBI midcap schemes: SBI Magnum Midcap Fund - Direct Growth (code: 125497)..."

Live NAV:

You: "What's the current NAV of scheme 125497?"
Claude: calls get_scheme_quote(scheme_code='125497')
Claude: "SBI Magnum Midcap Fund - Direct Growth: NAV โ‚น234.56 (as of 05-Apr-2025)"

Performance comparison:

You: "Compare 5-year returns for large cap equity funds"
Claude: calls get_equity_scheme_performance()
Claude: "Here's the 5-year return comparison for Large Cap funds: ..."


Data Source

All data is sourced via the mftool library. Data accuracy depends on AMFI's published figures. This tool is for informational purposes only and does not constitute financial advice.


Development

git clone https://github.com/NayakwadiS/mftool-mcp
cd mftool-mcp
pip install -e ".[dev]"

# Run the server locally
python -m mftool_mcp.server

<!-- ### Project Structure

mftool-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ mftool_mcp/
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ”œโ”€โ”€ server.py          # MCP server entry point
โ”‚       โ””โ”€โ”€ tools/
โ”‚           โ”œโ”€โ”€ __init__.py
โ”‚           โ”œโ”€โ”€ nav.py         # NAV & historical data tools
โ”‚           โ”œโ”€โ”€ schemes.py     # Scheme discovery & search tools
โ”‚           โ””โ”€โ”€ performance.py # Daily performance tools
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md

-->


Acknowledgements

  • mftool by NayakwadiS โ€” the underlying data library

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured