Eco Policy MCP

io.github.Akhilesh-Chandewar由 GitHub 帳號 Akhilesh-Chandewar 發布v0.1.0更新於 Oct 24, 2026

Indian finance MCP server: mutual-fund NAVs, GST & income-tax tools, RBI rates, NSE quotes.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

面向印度金融資料的本地 MCP 伺服器:共同基金淨值、GST 與所得稅計算、RBI 政策利率與 NSE 行情,並附上資料來源資訊。

可以做什麼
  • 計算 GST 拆分、含稅金額、反向課稅並驗證 GSTIN
  • 估算新舊稅制下的所得稅並進行比較
  • 搜尋 AMFI 基金方案、取得最新與歷史淨值、計算報酬並以 XIRR 模擬 SIP
  • 讀取 RBI 政策利率以及 NSE 股票、指數與歷史 OHLCV 行情
  • 檢視伺服器版本、工具清單與快取狀態,並提供資料新鮮度資源與提示詞
適用情境
當助理需要可溯源的印度稅務、共同基金或市場資料時適用,例如 GST 發票拆分、稅制比較、淨值查詢或 SIP 報酬試算。
執行需求
以 stdio 在本機執行,通常透過 uvx 從 PyPI 啟動(需 Python/uv 環境)。未宣告驗證或 API 金鑰。需要連線至 AMFI、mfapi.in、RBI 與 NSE。可用 ECO_ 前綴環境變數調整快取、逾時與基礎位址。
安裝前請注意
NSE 資料來自非官方公開端點,可能延遲或失效;RBI 資料為整理快照,行動前應向官方查證。稅務結果為估算,不含附加稅與資本利得特殊稅率,不構成建議。請求會送往第三方資料服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Eco Policy MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

eco-policy-mcp

[PyPI] [MCP Registry] [License: MIT] [GitHub release]

An MCP server for Indian finance data — mutual-fund NAVs, GST & income-tax calculators, RBI policy rates and NSE market data — built for any MCP client (Claude, Cursor, Gemini CLI, VS Code, Cline, custom agents...), not just one.

Every successful response carries a provenance block (source, as_of, reference), so AI agents can cite where each number came from instead of hallucinating it.

Links

Install & run

bash
# Run with any MCP client via uvx (installs automatically from PyPI):uvx eco-policy-mcp
# Or pin the version:uvx [email protected]
# From a clone:uv syncuv run eco-policy-mcp            # stdio (default, local clients)uv run eco-policy-mcp --http --port 8000   # streamable-HTTP (remote clients)

See examples/ for client configs (Claude Desktop, Cursor, Gemini CLI, VS Code, remote HTTP).

Tools

DomainToolWhat it does
GSTgst_splitCGST/SGST vs IGST breakup for an amount + slab rate
GSTgst_from_inclusiveExtract GST from a tax-inclusive amount
GSTgst_reverse_chargeReverse-charge (RCM) tax payable
GSTgstin_validateGSTIN mod-36 checksum validation + state code
Income taxincome_tax_new_regimeFY 2026-27 new-regime estimate (std deduction + 87A rebate)
Income taxincome_tax_old_regimeOld-regime estimate (80C, age-based exemption)
Income taxincome_tax_compare_regimesNew vs old with recommendation
Mutual fundsmf_search_schemesSearch all AMFI schemes by name
Mutual fundsmf_get_navLatest NAV for a scheme code
Mutual fundsmf_get_nav_historyHistorical NAVs between dates
Mutual fundsmf_compute_returnsAbsolute return + CAGR between dates
Mutual fundsmf_sip_calculatorSIP simulation on real NAVs with XIRR
RBIrbi_get_policy_ratesRepo, SDF, MSF, bank rate, CRR, SLR (as-of dated)
NSEnse_get_quoteEquity quote (unofficial public endpoint)
NSEnse_get_index_quoteIndex snapshot (NIFTY 50, BANK, IT...)
NSEnse_get_historicalDaily OHLCV (max 1y window)
Servereco_server_infoVersion, tool list, cache health

Also exposes resources (eco-policy://amfi/freshness, eco-policy://rbi/policy-rates) and prompts (compare_mutual_funds, gst_invoice_breakup).

Data sources & disclaimers

  • AMFI (NAVAll.txt) — official daily NAV dump; parsed and cached 6h.
  • mfapi.in — community mirror of AMFI's NAV archive (history, returns, SIP).
  • RBI — curated policy-rate snapshot stamped with its as-of date; verify at rbi.org.in before acting on it.
  • NSE — unofficial public endpoints; quotes may be delayed and endpoints can change without notice. Failures return structured errors, never raw HTML.
  • Tax computations are estimators (excludes surcharge, capital-gains special rates); nothing here is investment or tax advice.

Configuration

All settings via env vars (prefix ECO_): ECO_TTL_AMFI_INDEX, ECO_TTL_NSE_QUOTE, ECO_NSE_MIN_INTERVAL, ECO_HTTP_TIMEOUT, ECO_MFAPI_BASE, ECO_NSE_BASE, ECO_AMFI_NAV_URL, ... — see src/eco_policy_mcp/config.py.

Development

bash
uv sync --dev          # install with dev toolsuv run pytest          # run the test suite (no network needed)

License

MIT — see LICENSE.

來源:README.md,提交 6f09e76

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分