Skip to main content
Glama

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.

Related MCP server: Tapetide

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

Domain

Tool

What it does

GST

gst_split

CGST/SGST vs IGST breakup for an amount + slab rate

GST

gst_from_inclusive

Extract GST from a tax-inclusive amount

GST

gst_reverse_charge

Reverse-charge (RCM) tax payable

GST

gstin_validate

GSTIN mod-36 checksum validation + state code

Income tax

income_tax_new_regime

FY 2026-27 new-regime estimate (std deduction + 87A rebate)

Income tax

income_tax_old_regime

Old-regime estimate (80C, age-based exemption)

Income tax

income_tax_compare_regimes

New vs old with recommendation

Mutual funds

mf_search_schemes

Search all AMFI schemes by name

Mutual funds

mf_get_nav

Latest NAV for a scheme code

Mutual funds

mf_get_nav_history

Historical NAVs between dates

Mutual funds

mf_compute_returns

Absolute return + CAGR between dates

Mutual funds

mf_sip_calculator

SIP simulation on real NAVs with XIRR

RBI

rbi_get_policy_rates

Repo, SDF, MSF, bank rate, CRR, SLR (as-of dated)

NSE

nse_get_quote

Equity quote (unofficial public endpoint)

NSE

nse_get_index_quote

Index snapshot (NIFTY 50, BANK, IT...)

NSE

nse_get_historical

Daily OHLCV (max 1y window)

Server

eco_server_info

Version, 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.

Available Tools

17 tools
eco_server_infoEco Server InfoA

Server version, registered tools and cache health - useful for debugging connectivity.

Inputs: no named parameters. Returns: object

gst_from_inclusiveGst From InclusiveB

Extract GST out of a tax-inclusive (MRP-style) amount.

Inputs: amount (required), rate_percent (required). Returns: object

gstin_validateGstin ValidateA

Validate an Indian GSTIN using its mod-36 checksum and extract the state code.

Inputs: gstin (required). Returns: object

gst_reverse_chargeGst Reverse ChargeA

Compute tax payable under reverse charge mechanism (Section 9(3)/9(4)).

Inputs: amount (required), rate_percent (required). Returns: object

gst_splitGst SplitB

Split GST into CGST+SGST (intra-state) or IGST (inter-state).

Inputs: amount (required), intra_state (required), rate_percent (required). Returns: object

income_tax_compare_regimesIncome Tax Compare RegimesA

Compare NEW vs OLD regime tax for FY 2026-27 and recommend the cheaper one.

Inputs: gross_salary (required), age, deductions_80c, other_deductions. Returns: object

income_tax_new_regimeIncome Tax New RegimeA

Estimate income tax for FY 2026-27 (AY 2027-28) under the NEW regime.

Applies the standard deduction (Rs 75,000) and the Section 87A rebate (taxable income up to Rs 12,00,000 effectively tax-free). Excludes surcharge and capital-gains special rates.

Inputs: gross_salary (required), age. Returns: object

income_tax_old_regimeIncome Tax Old RegimeB

Estimate income tax for FY 2026-27 (AY 2027-28) under the OLD regime.

Inputs: gross_salary (required), age, deductions_80c, other_deductions. Returns: object

mf_compute_returnsMf Compute ReturnsB

Compute absolute return and CAGR for a scheme between two dates.

Inputs: from_date (required), scheme_code (required), to_date. Returns: object

mf_get_navMf Get NavB

Get the latest published NAV for a mutual fund scheme (AMFI official data).

Inputs: scheme_code (required). Returns: object

mf_get_nav_historyMf Get Nav HistoryB

Get historical NAVs for a scheme between dates (ISO YYYY-MM-DD, inclusive).

Inputs: scheme_code (required), to_date, from_date. Returns: object

mf_search_schemesMf Search SchemesB

Search all Indian mutual fund schemes by name (AMFI official directory).

Inputs: query (required), limit. Returns: object

mf_sip_calculatorMf Sip CalculatorB

Simulate a monthly SIP in a scheme using actual historical NAVs (XIRR included).

Inputs: from_date (required), scheme_code (required), monthly_amount (required), to_date. Returns: object

nse_get_historicalNse Get HistoricalA

Get NSE daily OHLCV history for a symbol (max 1 year window per call).

Inputs: symbol (required), from_date (required), to_date. Returns: object

nse_get_index_quoteNse Get Index QuoteB

Get a live NSE index snapshot (NIFTY 50, NIFTY BANK, NIFTY IT, ...).

Inputs: index_name. Returns: object

nse_get_quoteNse Get QuoteB

Get a live NSE equity quote (unofficial public endpoint).

Inputs: symbol (required). Returns: object

rbi_get_policy_ratesRbi Get Policy RatesA

Get current RBI policy rates (repo, SDF, MSF, bank rate, CRR, SLR) with as-of date.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: GST splitting, inclusive-GST extraction, reverse charge, GSTIN validation, old/new/compare income tax, mutual fund NAV/history/returns/SIP, NSE quote/index/history, and RBI policy rates. A few calculation tools within the same domain (e.g. mf_compute_returns vs mf_sip_calculator) could be confused at a glance, but descriptions clarify their boundaries.

    Naming Consistency4/5

    The set mostly follows a consistent snake_case domain-prefix pattern (gst_, income_tax_, mf_, nse_, rbi_), with action or object suffixes indicating purpose. Minor deviations exist, such as gst_from_inclusive and income_tax_new_regime, where the suffix is less verb-like, but the naming remains predictable overall.

    Tool Count4/5

    Seventeen tools is slightly above the ideal 3-15 range, but the server spans several distinct subdomains (GST, income tax, RBI, mutual funds, NSE, diagnostics), and each tool appears to earn its place. The count is reasonable for the broad Indian economic-policy and personal-finance scope.

    Completeness3/5

    Each represented subdomain has useful core operations: GST calculations and validation, income tax regime comparison, mutual fund search/NAV/history/returns/SIP, NSE quotes and history, and RBI policy rates. However, the broader eco-policy surface is incomplete, missing areas such as GST rate lookup, TDS/corporate tax, inflation/GDP indicators, and other policy data that the server name might imply.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    • India's financial MCP — cards, loans, FDs, insurance, MFs; EMI/SIP/tax calcs; NAV lookup; RAG.

      https://mcp.financegenius.ai/mcp/
    • Hosted MCP server for Indian NSE/BSE stock research: 59 tools for quotes, financials and ratios, peers, shareholding and pledge, filings with extracted facts, screens, F&O and FII/DII context. Source and freshness on every answer; no buy/sell calls.

      https://mcp.dalalos.in/mcp
    • Your agent needs markets — prices and fundamentals for listed companies, the filings behind them, crypto, and what the prediction markets put the odds at. **What you can ask for** • "Pull this company's income statement, cash flow and balance sheet for the last 8 quarters." • "What did insiders buy or sell, and when?" • "Snapshot prices for these 50 tickers, then the OHLC history for the three that moved." • "What are the current odds on this event across Kalshi and Polymarket?" • "Screen for companies matching these financial criteria." **How to use it** Point any MCP client at https://mcp.aisa.one/finance/mcp and sign in with OAuth — there is no key to create or paste. 49 tools: prices and snapshots, income statements, balance sheets and cash flows, metrics and ratios, earnings and analyst estimates, filings and line-item search, insider trades, macro interest rates, news, a screener; CoinGecko spot prices, market tables, OHLC, per-venue tickers and trending; Kalshi and Polymarket markets and trades; plus EDINET filings for Japan. **Why this rather than the source** Equities, crypto and event markets behind one account, so a cross-asset question is one conversation. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Read the number here, then ask the same agent what X is saying about the ticker today — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/marketpulse/mcp · /crypto-market-data/mcp · /prediction-market-data/mcp · /stock-pulse/mcp for one slice each.

    • Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

      https://mcp.ko.io/mcp

    Related MCP Servers

    • F
      license
      Not graded
      quality
      A
      maintenance
      Indian stock market MCP server exposing 55 tools covering all 8,200+ NSE and BSE listed stocks, letting users pull live quotes, quarterly financials, technical indicators, a 326-ratio screener, FII/DII flows, option chains and IV, corporate filings, IPOs, bulk deals and portfolio P&L through plain-English prompts. It can be added to Claude, ChatGPT, Cursor, VS Code, Codex or Gemini CLI either as a remote OAuth endpoint or as a local npx/uvx stdio bridge.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Gives AI assistants live, structured data on all 8,200+ NSE and BSE listed stocks through 55 tools, covering quotes, financials, a 326-ratio screener, technical indicators, FII/DII flows, option chains and IV, corporate filings, IPOs, bulk deals and portfolio P&L. Runs either remotely over OAuth or locally over stdio, so it works in Claude, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and any other MCP client.
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Gives AI assistants live, structured data on every NSE and BSE listed company — quotes, financials, a 326-ratio screener, technical indicators, FII/DII flows, option chains and IV, corporate filings, IPOs, bulk deals and portfolio P&L across 8,200+ stocks. It can be connected to Claude, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and other MCP clients either remotely via OAuth or locally through npx/uvx.
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to search, screen, and analyze 8,200+ NSE and BSE listed stocks through 55 tools covering live quotes, quarterly financials, technical indicators, a 326-ratio screener, FII/DII flows, option chains and IV, corporate filings, IPOs, bulk deals, and portfolio P&L. It can be connected remotely over OAuth or locally via npx/uvx from Claude, ChatGPT, Cursor, VS Code, Codex, Gemini CLI, and other MCP clients.
      MIT