New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

eco-policy-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eco-policy-mcp

MCP server for Indian finance data: mutual-fund NAVs, GST & income-tax calculators, RBI policy rates, NSE/BSE market data — with provenance on every value. Works with any MCP client.

pipPyPI
Version
0.1.0
Weekly downloads
35
-67.59%
Maintainers
1
Weekly downloads
 
Created

eco-policy-mcp

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

# Run with any MCP client via uvx (once published):
uvx eco-policy-mcp

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

Keywords

fastmcp

FAQs

Related posts