Search RBI & SEBI circulars, master directions and regulations. Offline SQLite index, no API keys.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
An MCP server that gives Claude (and any MCP client) searchable, cited access to RBI and SEBI regulatory documents β circulars, master directions, notifications, and regulations.
No API keys. No subscriptions. Built entirely on free public government data.
Regulatory rules in India are scattered across thousands of PDFs and HTML pages on rbi.org.in and sebi.gov.in. They reference and supersede each other constantly. There is no AI-accessible way to ask "what are the current rules on X" and get sourced answers.
This MCP solves that. It scrapes, indexes, and exposes the full text of RBI and SEBI documents in a local SQLite database β so Claude can search and retrieve primary-source regulatory text with official citations, instantly.
This is not a legal advice tool. It retrieves primary-source documents so you can reason over actual rules instead of hallucinated summaries.
| Tool | Description |
|---|---|
search_regulations | Full-text search with optional regulator/type filter |
get_document | Retrieve full text of a document by ID |
get_recent | Most recent documents, optionally filtered |
list_master_directions | All RBI Master Directions + SEBI Master Circulars |
list_by_department | SEBI documents by department name |
sync_latest | Incremental scrape of new documents from RBI + SEBI |
sync_status | Document count breakdown + last sync time |
search_by_topic | Combined master rules + recent circulars on a topic |
Key design decision: Tools never scrape live. The scrapers populate a local SQLite database once, and tools query that instantly. Only sync_latest hits the regulators' sites. This makes every tool call fast, keeps you off government servers during normal use, and works offline once indexed.
Install globally and register with Claude Code in one step:
Or use without installing via npx:
After adding the server, ask Claude to sync:
Or run directly:
This scrapes RBI notifications for the last 36 months and SEBI circulars (~1000 recent documents). Takes 5β15 minutes depending on your connection. The database is stored at ~/.india-reg-mcp/regdata.db and survives rebuilds.
Progress is printed to stderr:
Via npm (global install):
Via npx (no install):
Via source build:
Or add to ~/.claude.json manually:
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Restart Claude Desktop fully after editing the config.
Once connected, ask Claude naturally:
β Claude calls search_by_topic("digital lending") β returns the Master Direction on Digital Lending plus recent amending circulars, each with official source links.
β Claude calls get_recent(regulator="SEBI", limit=10).
β Claude calls list_master_directions(regulator="RBI").
β Claude calls search_regulations("KYC mutual fund", doc_type="master_direction").
β Claude calls sync_latest() β incremental, only fetches new documents.
rbi.org.in/Scripts/NotificationUser.aspxrbi.org.in/Scripts/BS_ViewMasterDirections.aspxrbi.org.in/Scripts/BS_ViewMasterCirculardetails.aspxssid=7): ~2,775 documents as of June 2026ssid=6): consolidated current rules by topicssid=3): statutory regulationspdf-parse| Type | Source | Description |
|---|---|---|
circular | RBI + SEBI | Point-in-time regulatory guidance |
master_direction | RBI | Consolidated current rules on a subject (supersedes earlier circulars) |
master_circular | SEBI | Same as master direction, SEBI's term |
notification | RBI | Statutory notifications under various Acts |
regulation | SEBI | Formal regulations (e.g. SEBI (FPI) Regulations 2019) |
For compliance questions, start with master_direction/master_circular. These represent the current state of rules, not a point-in-time snapshot.
The database is a point-in-time snapshot. RBI and SEBI publish new documents frequently (several per week).
Option 1 β Ask Claude: "Pull in the latest regulatory updates" β Claude calls sync_latest.
Option 2 β CLI:
Option 3 β Scheduled (example cron, runs every Sunday at 2am):
sync_latest and npm run sync are both incremental β they skip documents already in the database.
RBI uses ASP.NET with viewstate tokens. The scraper fetches viewstate on startup, then POSTs month-by-month to get document listings. Content is extracted from the HTML circular page; PDF fallback for PDF-only documents.
SEBI uses a JSP-based listing with AJAX pagination. Page 1 is a GET request (establishes JSESSIONID). Pages 2+ POST to getnewslistinfo.jsp with the session cookie. Circular content is typically a PDF embedded in an iframe β the scraper extracts the PDF URL and parses it with pdf-parse.
~/.india-reg-mcp/regdata.db| Package | Version | Purpose |
|---|---|---|
@modelcontextprotocol/sdk | 1.29.0 | MCP server framework |
better-sqlite3 | 12.10.0 | SQLite with built-in FTS5 |
cheerio | 1.2.0 | HTML parsing |
pdf-parse | 2.4.5 | PDF text extraction |
turndown | 7.2.4 | HTML β Markdown |
p-limit | 7.3.0 | Concurrency control |
zod | 4.4.3 | Schema validation |
This tool retrieves and surfaces primary-source regulatory documents from official RBI and SEBI publications. It does not provide legal advice. Always verify against the official linked document. The index is a point-in-time snapshot β use sync_latest to pull recent publications.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/india-regulatory-mcp)<a href="https://allmcps.com/mcp/india-regulatory-mcp"><img src="https://allmcps.com/api/badge/india-regulatory-mcp?style=directory" alt="India Regulatory Mcp on AllMCPs" /></a>