MCP server: One MCP server.

Eco Policy MCP

@akhilesh-chandewarMCP server · External

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

Taxv0.1.0MITPython
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPIeco-policy-mcpv0.1.0

Run

uvx eco-policy-mcp

MCP client config

{
  "mcpServers": {
    "eco-policy-mcp": {
      "command": "uvx",
      "args": [
        "eco-policy-mcp"
      ]
    }
  }
}
README3 min read

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.

Install & run

bash
# 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

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

License

MIT — see LICENSE.

Similar modules

Browse Tax