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 分