bharatpay-mcp

v0.1.0
bharatpay-mcp Checked 34 minutes ago Published 6 months ago

An MCP server giving AI agents access to Indian fintech utilities — IFSC, PAN, GSTIN, pincodes, mutual fund NAV, UPI VPAs, and INR formatting.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup_ifsc Lookup Ifsc

Look up bank, branch, address, and supported payment rails (NEFT/RTGS/IMPS/UPI) for an Indian IFSC code. Uses Razorpay's free public IFSC API.

ParameterTypeDescription
ifsc *string11-character IFSC code (e.g., 'KKBK0000261').

validate_pan Validate Pan

Validate Indian PAN format and identify the entity type (Individual / Company / HUF / Trust / Partnership Firm / etc.) from the 4th character.

ParameterTypeDescription
pan *string10-character PAN (e.g., 'ABCDE1234F').

validate_gstin Validate Gstin

Validate Indian GSTIN: format, mod-36 checksum, and extract embedded state and PAN. Returns the registration state name from the leading state code.

ParameterTypeDescription
gstin *string15-character GSTIN (e.g., '29AABCT1332L1ZS').

lookup_pincode Lookup Pincode

Look up state, district, and post offices for an Indian PIN code using the free India Post API.

ParameterTypeDescription
pin *string6-digit PIN (e.g., '302001' for Jaipur).

get_mutual_fund_nav Get Mutual Fund Nav

Get the latest daily NAV for an Indian mutual fund scheme. Accepts either an AMFI scheme code (digits only) or a name fragment for fuzzy search. Data sourced from AMFI India's public daily file.

ParameterTypeDescription
query *stringScheme code (e.g., '118989') or name fragment (e.g., 'parag parikh flexi cap').

validate_upi_vpa Validate Upi Vpa

Validate a UPI VPA's format and identify the issuing PSP and underlying bank from the handle suffix (e.g., 'oksbi' → Google Pay on State Bank of India).

ParameterTypeDescription
vpa *stringVPA in 'username@psp' format (e.g., 'angelina@oksbi').

format_inr Format Inr

Format an INR amount in Indian numbering conventions (lakh/crore grouping with comma every two digits after the first three) and return word form. Set `paise=True` if amount is in paise (Razorpay API style, where 1 INR = 100 paise).

ParameterTypeDescription
amount *numberNumber to format.
paisebooleanIf True, treat amount as paise.