mftool-mcp
🇮🇳 mftool-mcp
公開されているインドの投資信託データのためのMCPサーバー mftool を活用 · Claude、Cursor、およびMCP互換のLLMクライアントで動作します
これは何ですか?
mftool-mcp は、あらゆるLLMクライアントがインドの投資信託データにアクセスできるようにする Model Context Protocol (MCP) サーバーです。
AIアシスタントに次のような質問ができます:
「SBI Bluechip Direct Growthの現在のNAV(基準価額)は?」
「HDFC Midcap Opportunities Fundの3年間のリターンを表示して」
「Mirae Asset AMCのすべてのスキームをリストアップして」
「すべてのフレキシキャップファンドを見つけて、5年間のリターンを比較して」
Related MCP server: Daito
利用可能なツール
ツール | 説明 |
| AMFIスキームコードによる任意のスキームのライブNAV |
| 複数のスキームのライブNAVを一度に取得(同時実行) |
| スキームの全NAV履歴(利用可能なすべての日付) |
| 特定の日付範囲(DD-MM-YYYY)でフィルタリングされたNAV履歴 |
| 期間または日付範囲を指定したBSE/YFinanceコードによるNAV履歴 |
| すべてのAMFIスキームコードと名称 |
| 特定のAMC(資産運用会社)配下のすべてのスキーム |
| ファンドハウス、タイプ、カテゴリー、開始日(AMFIコード) |
| 詳細なスキーム情報 — AUM、リターン、格付け(BSE/YFinanceコード) |
| AMFI数値スキームコードの検証 |
| BSE/新形式スキームコードの検証 |
| キーワードによるスキーム検索(関連度順) |
| 特定のAMC内のスキーム検索 |
| タイプ/カテゴリー(株式、債券、ELSSなど)によるスキーム検索 |
| 四半期ごとの全AMCの平均AUM(国内および海外) |
| 全株式ファンドのパフォーマンス(1年/3年/5年リターン) |
| 全債券ファンドのパフォーマンス(1年/3年/5年リターン) |
| 全ハイブリッドファンドのパフォーマンス(1年/3年/5年リターン) |
| ソリューション指向ファンド(退職、子供向け)のパフォーマンス |
| インデックスファンドおよびファンド・オブ・ファンズのパフォーマンス |
| SIPリターンの計算 — 絶対リターン%および年換算IRR |
| NAVおよびスキームコードキャッシュのヒット/ミス統計の表示 |
| キャッシュされたすべてのデータをクリアして強制的に再取得 |
| mftoolキャッシュのグローバルな有効化/無効化 |
クイックスタート
uvx を使用する場合(推奨 — インストール不要)
uvx mftool-mcppip を使用する場合
pip install mftool-mcp
mftool-mcpClaude Desktopの設定
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"]
}
}
}Claude Desktopを再起動します。接続されたツールの中に mftool-mcp が表示されます。
Cursor / その他のMCPクライアント
MCPクライアントの設定に以下を追加してください:
{
"mftool-mcp": {
"command": "uvx",
"args": ["mftool-mcp"]
}
}会話例
ファンドの検索:
ユーザー: 「SBIのミッドキャップ投資信託のスキームコードをすべて見つけて」 Claude:
search_schemes_by_amc(amc_name='sbi', query='midcap')を呼び出す Claude: 「SBIのミッドキャップスキームは以下の通りです:SBI Magnum Midcap Fund - Direct Growth (コード: 125497)...」
ライブNAV:
ユーザー: 「スキーム125497の現在のNAVは?」 Claude:
get_scheme_quote(scheme_code='125497')を呼び出す Claude: 「SBI Magnum Midcap Fund - Direct Growth: NAV ₹234.56 (2025年4月5日時点)」
パフォーマンス比較:
ユーザー: 「ラージキャップ株式ファンドの5年間のリターンを比較して」 Claude:
get_equity_scheme_performance()を呼び出す Claude: 「ラージキャップファンドの5年間のリターン比較は以下の通りです:...」
データソース
すべてのデータは mftool ライブラリを通じて取得されます。データの正確性は公開されている数値に依存します。このツールは情報提供のみを目的としており、財務上の助言を構成するものではありません。
開発
git clone https://github.com/NayakwadiS/mftool-mcp
cd mftool-mcp
pip install -e ".[dev]"
# Run the server locally
python -m mftool_mcp.server謝辞
mftool — 基盤となるデータライブラリ
関連イニシアチブ
NSE株価予測 NSE-Neuron
Available Tools
12 toolsget_available_schemesA
Get all mutual fund schemes available under a specific AMC (Asset Management Company).
Args: amc_name: Partial or full name of the AMC (case-insensitive). Examples: 'hdfc', 'sbi', 'axis', 'icici', 'mirae', 'parag', 'dsp'.
Returns: Dictionary mapping scheme codes (str) to scheme names (str) for the given AMC.
Inputs: amc_name (required).
get_debt_scheme_performanceA
Get daily performance data for all open-ended DEBT mutual fund schemes. Includes Liquid, Overnight, Short Duration, Corporate Bond, Gilt funds, etc. Shows latest NAV (Regular & Direct plans) and 1Y/3Y/5Y returns.
Returns: Dictionary categorized by debt fund type with performance metrics.
Inputs: no named parameters.
get_elss_scheme_performanceA
Get daily performance data for ELSS (Equity Linked Savings Scheme) mutual funds. ELSS funds offer tax benefits under Section 80C with a 3-year lock-in period. Shows latest NAV (Regular & Direct plans) and 1Y/3Y/5Y returns.
Returns: Dictionary with ELSS fund performance metrics.
Inputs: no named parameters.
get_equity_scheme_performanceA
Get daily performance data for all open-ended EQUITY mutual fund schemes. Includes Large Cap, Mid Cap, Small Cap, Flexi Cap, ELSS, Sectoral, etc. Shows latest NAV (Regular & Direct plans) and 1Y/3Y/5Y returns.
Returns: Dictionary categorized by equity fund type with performance metrics.
Inputs: no named parameters.
get_hybrid_scheme_performanceA
Get daily performance data for all open-ended HYBRID mutual fund schemes. Includes Balanced Advantage, Aggressive Hybrid, Conservative Hybrid, Arbitrage, etc. Shows latest NAV (Regular & Direct plans) and 1Y/3Y/5Y returns.
Returns: Dictionary categorized by hybrid fund type with performance metrics.
Inputs: no named parameters.
get_scheme_codesA
Get a dictionary of ALL mutual fund scheme codes and names available on AMFI. Returns a large dataset with scheme_code -> scheme_name mappings. Use this to discover scheme codes for funds you want to query.
Returns: Dictionary mapping scheme codes (str) to scheme names (str).
Inputs: no named parameters.
get_scheme_detailsA
Get detailed metadata for a mutual fund scheme including fund house, type, category, and scheme start date.
Args: scheme_code: AMFI numeric scheme code (e.g., '119597').
Returns: Dictionary with fund_house, scheme_type, scheme_category, scheme_code, scheme_name, scheme_start_date.
Inputs: scheme_code (required).
get_scheme_quoteA
Get the latest NAV (Net Asset Value) quote for a mutual fund scheme.
Args: scheme_code: AMFI numeric scheme code (e.g., '119597' for an SBI fund). Use get_scheme_codes or search_scheme_by_name to find codes.
Returns: Dictionary with scheme_code, scheme_name, last_updated, nav.
Inputs: scheme_code (required).
is_valid_scheme_codeA
Check whether a given scheme code is a valid AMFI scheme code.
Args: scheme_code: Numeric scheme code to validate (e.g., '119597').
Returns: Dictionary with 'valid' (bool) and 'scheme_code' fields.
Inputs: scheme_code (required).
search_scheme_by_nameA
Search for mutual fund schemes by name keyword. Optionally filter by AMC. Use this when you know a fund name but not its scheme code.
Args: query: Keyword to search in scheme names (e.g., 'midcap', 'bluechip', 'flexi'). amc_name: Optional AMC filter (e.g., 'hdfc', 'sbi'). Leave empty to search all.
Returns: Dictionary mapping scheme codes to matching scheme names.
Inputs: query (required), amc_name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have distinct purposes, but get_available_schemes and get_scheme_codes both return scheme codes and names, causing potential confusion. The rest are clearly differentiated by function.
All tool names follow a consistent snake_case verb_noun pattern (e.g., get_equity_scheme_performance, search_scheme_by_name), making it predictable for an agent.
12 tools cover the essential operations for a mutual fund data server—discovery, details, NAV history, performance categories, and validation—without being excessive.
Covers core CRUD-like operations and performance data by category. Minor gaps include lack of direct scheme comparison or expense ratio details, but overall the surface is sufficient for typical queries.
Maintenance
Related MCP Connectors
MFAPI.in MCP — Indian mutual-fund NAV (net asset value) data.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Hosted MCP server for Indian market quotes, option-chain Greeks and multi-broker telemetry.
MCP server for Financial Modeling Prep API with 250+ financial data tools
Related MCP Servers
- ISC
- FlicenseNot gradedqualityDmaintenanceMCP server for screening Indian stocks and mutual funds by wrapping screener.in and Morningstar India, enabling fundamental queries from Claude or Cursor.-
- AlicenseAqualityCmaintenanceAn MCP server exposing Indian market and regulatory data from official sources (NSE, NIFTY, AMFI, SEBI), providing tools for end-of-day quotes, index constituents, mutual fund NAVs, and SEBI order searches with a focus on primary sources and no fabricated data.8MIT
- AlicenseAqualityCmaintenanceMCP server that lets AI assistants search and analyze live Indian mutual funds via Groww's API, supporting filters and detailed fund diagnostics.21MIT