Skip to main content
Glama
bahi-mcp

bahi-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_schemesA

Search Indian mutual fund schemes by name (e.g. 'sbi midcap direct growth').

Returns scheme codes (AMFI) and names. Use a code with the other tools.

get_scheme_quoteA

Latest NAV and basic quote for a scheme, by AMFI scheme code.

get_scheme_detailsC

Fund house, scheme type, category and start date for a scheme code.

get_nav_historyA

NAV history for a scheme. Dates as DD-MM-YYYY or YYYY-MM-DD.

Returns at most max_points of the most recent points in the range, to keep responses small.

get_portfolio_valueB

Current value of a mutual fund portfolio at latest NAVs.

Each holding: {"scheme_code": "119551", "units": 125.5}.

clear_cacheA

Clear cached AMFI data so the next call fetches fresh NAVs.

NAVs are cached for 24 hours. AMFI usually publishes the day's NAVs after about 9 PM IST, so clear the cache after that to see them.

calculate_sip_returnsA

Simulate a monthly SIP in a scheme using its real NAV history.

Returns total invested, units, current value, absolute return and XIRR. end_date defaults to today. Dates as DD-MM-YYYY or YYYY-MM-DD.

compare_fundsA

Compare 1 to 5 mutual funds side by side.

For each fund: latest NAV, 1/3/5-year annualised returns (null if the fund is too new), and risk over risk_years: volatility, max drawdown and Sharpe ratio.

get_rolling_returnsA

Rolling-return distribution for a fund.

Shows min, max, mean and median annualised return across all window_years windows in its history, plus how often it was positive and above threshold_pct. Better than a single start-to-end return.

get_stock_quoteA

Latest price for an NSE/BSE stock, e.g. symbol 'RELIANCE' on exchange 'NSE'.

Source is Yahoo Finance (unofficial, may be delayed).

get_index_quoteA

Latest level of an Indian index: nifty50, sensex, banknifty, niftyit or indiavix.

get_stock_historyA

Price history (OHLCV) for an NSE/BSE stock or index ticker like '^NSEI'.

period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max. interval: 1d, 5d, 1wk, 1mo. Returns at most max_points recent rows.

calculate_xirrA

XIRR for dated cash flows.

Each item: {"date": "YYYY-MM-DD", "amount": -10000}. Investments are negative, redemptions / current value positive.

calculate_cagrC

CAGR between two values over a date range.

calculate_emiB

Loan EMI, total payment and total interest (reducing balance).

calculate_fdA

Fixed deposit maturity amount and effective yield (quarterly compounding by default).

calculate_rdC

Recurring deposit maturity amount (quarterly compounding).

calculate_lumpsum_valueB

Future value of a one-time investment at a constant assumed annual return.

project_sipA

Project a SIP at an assumed constant return, with an optional yearly step-up.

This is a what-if projection. For a SIP on a real fund's history, use calculate_sip_returns.

calculate_swpC

Systematic withdrawal plan: does the corpus last, and how much remains?

plan_retirementC

Corpus needed at retirement and the monthly SIP required to build it.

estimate_mf_taxA

Estimate capital gains tax on a mutual fund redemption (FY 2026-27 rules).

Supply holding_days, or both purchase_date and sale_date for exact calendar holding-period classification. Equity STCG is 20%; LTCG is 12.5% above the remaining annual exemption. 'debt'/'other': taxed at slab_rate_pct. Excludes surcharge and loss set-off. Confirm with a tax professional.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 22 tools

Disambiguation5/5

Each tool targets a distinct action/resource: scheme search, scheme data, NAV history, portfolio valuation, mutual-fund returns, tax, calculators, and stock/index quotes. The closest overlap is project_sip versus calculate_sip_returns, but the descriptions explicitly separate what-if SIP projection from real-NAV SIP simulation. No tool pair appears interchangeable.

Naming Consistency5/5

All tool names use consistent snake_case verb_noun patterns such as get_scheme_quote, calculate_xirr, compare_funds, and get_stock_history. Verb choices vary semantically by operation, but the convention is predictable throughout.

Tool Count3/5

The 22-tool surface is heavy for a single MCP server, though it covers several related areas: mutual funds, financial calculators, and stock/index quotes. Each tool has a plausible role, but the count sits in the borderline-heavy 16–25 range.

Completeness4/5

Core mutual-fund workflows are well covered: search, scheme details, NAV history, SIP returns, portfolio valuation, comparison, rolling returns, tax estimation, and planning calculators. Minor gaps remain, such as richer scheme metadata like AUM/expense ratio and broader stock search/fundamental operations.

Maintenance

ActivityNo data
ResponsivenessOutdated data