Skip to content
LangChain

Indian Mutual Fund Analytics (MFapi) for LangChain

io.github.vibhuti93/mutual-fund-mcp

AMFI mutual fund NAV tracking, SIP XIRR, lumpsum CAGR, and rolling returns on Cloudflare edge.

client:LangChain transport:streamable-http tools:4

Install Indian Mutual Fund Analytics (MFapi) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mutual-fund-mcp": {
            "transport": "streamable_http",
            "url": "https://mutual-fund-mcp.mutualfund-mcp-vk.workers.dev/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

Indian Mutual Fund Analytics (MFapi) in other clients