Eco Policy MCP

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

FinancePythonv0.1.0

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

ResourceURL
GitHub repositoryhttps://github.com/Akhilesh-Chandewar/eco-policy-mcp
PyPI packagehttps://pypi.org/project/eco-policy-mcp/
MCP Registry nameio.github.Akhilesh-Chandewar/eco-policy-mcp (active on registry.modelcontextprotocol.io)
Releaseshttps://github.com/Akhilesh-Chandewar/eco-policy-mcp/releases
Issueshttps://github.com/Akhilesh-Chandewar/eco-policy-mcp/issues
LicenseMIT

Install & run

# Run with any MCP client via uvx (installs automatically from PyPI):
uvx eco-policy-mcp

# Or pin the version:
uvx eco-policy-mcp@0.1.0

# From a clone:
uv sync
uv 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

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

License

MIT — see LICENSE.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx eco-policy-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-akhilesh-chandewar-eco-policy-mcp": {
      "command": "uvx",
      "args": [
        "eco-policy-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

eco-policy-mcppypi

Compatible MCP Clients

Eco Policy MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More