Overview
AI assistants are good at reading and explaining, but they do not know the state of an Indian court case today, and they should not quote sections from memory. The eCourtsIndia MCP Server connects them to the live record: cases from the Supreme Court, all 25 High Courts, district courts and 18 tribunal types, daily cause lists, 4.2 lakh+ statutory provisions and FIR PDFs. Advocates, in-house teams, verification firms and legal tech builders use it to research, track and check from inside a chat.
The server runs at https://mcp.ecourtsindia.com/mcp over streamable HTTP, with OAuth 2.1 sign-in and a token fallback for clients without OAuth. Its tools search cases, read case files and orders, check cause lists, refresh records, run LegalCheck litigation background checks, look up and map statutes, and find FIRs. All operations are read-only. The same data is served by the Partner REST API, so a workflow tried in chat can be shipped as software.
- Server URL
- https://mcp.ecourtsindia.com/mcp (streamable HTTP)
- Auth
- OAuth 2.1 with dynamic client registration; fallback ?token= with a Partner API key
- Tools
- 45 tools, read-only; nothing writes to a court system or user files
- Coverage
- Supreme Court, all 25 High Courts, district courts, 18 tribunal types; 350M+ case records; 4.2 lakh+ provisions; police FIRs
- Clients
- Claude, ChatGPT, Cursor, Claude Code and any MCP client
- Register
- eCourtsIndia (ecourtsindia.com)
- Data source
- Public court records published by the Supreme Court, High Courts, district courts and tribunals, harvested daily and refreshed on demand.
Tools
search_casesFull-text case search with filters for party, advocate, judge, court, act and section, case type and dates, plus facets
get_case_detailsFull case file by CNR: parties, hearings, orders and provisions
get_case_with_latest_orderCase plus the AI summary of its latest order in one call
get_order_markdownOrder text plus the signed true-copy PDF, with a date check against the order index
get_order_ai_analysisSummary, outcome, relief and provisions for one order
search_causelist / check_cnr_causelistSearch cause lists and check upcoming listings for CNRs
get_court_docketOne courtroom's list for a date
refresh_case / bulk_refresh_casesQueue fresh reads from the official source
monitor_portfolioCheck a set of cases for changes and listings
submit_legal_check / get_legal_checkRun a litigation background check and read the report or search log
lookup_provision / map_provisionRead a section with offence classification, or map IPC to BNS and other old and new codes
search_statute / resolve_actSearch the statute book, or turn an act name into its citation key
lookup_fir / get_fir_pdfCheck whether an FIR is held and fetch its signed copy
find_filter_values / fetch_live_enumsTurn names into exact filter codes and read live code lists
Use cases
Morning routine for an advocate
An advocate pastes her CNRs into Claude each morning and asks which are listed this week. The assistant checks cause lists, refreshes stale cases, reads any new orders and drafts short client updates, all from the live record, which she reviews before sending.
Company due diligence in chat
An in-house lawyer asks ChatGPT for pending cases against a supplier across courts and tribunals, including NCLT. The assistant searches, groups results by court and status, opens the latest orders and flags that name matches still need identity checks before any conclusion.
Statute questions answered from the text
A law student asks whether BNS 318 is bailable and what it replaced. The assistant looks up the provision, reads the classification and maps it to IPC 420, answering from the corpus text rather than from memory, with the India Code link.
Prototyping a legal product
A legal tech builder tries a hearing-alert workflow in Claude Code using the MCP tools, refines the prompts and checks the outputs. Once it works, the same calls move to the Partner REST API, which serves the same data with the same account.
How to connect
- Claude.ai or Claude Desktop: Customize, Connectors, Add custom connector, paste https://mcp.ecourtsindia.com/mcp, leave Client ID and Secret empty, Add, then Connect and sign in at eCourtsIndia.
- ChatGPT: turn on Developer mode, create a connector with the server URL, complete the OAuth sign-in, then switch the connector on in a chat.
- Cursor or Gemini CLI: add { "url": "https://mcp.ecourtsindia.com/mcp" } to the MCP config, with no command or args, and run the client's Connect or auth step.
- Claude Code: run claude mcp add --transport http ecourts-india https://mcp.ecourtsindia.com/mcp and complete sign-in.
- For a client without OAuth, use https://mcp.ecourtsindia.com/mcp?token=API_KEY with a Partner API key; do not run a local stdio server.
Example
Add the server
claude mcp add --transport http ecourts-india https://mcp.ecourtsindia.com/mcp Example conversation
User: Which of my cases are listed this week, and what happened at the last
hearing in MHPU010045672024?
Assistant calls:
check_cnr_causelist(cnrs=["MHPU010045672024", "DLHC010123452024"])
-> MHPU010045672024 listed 2026-12-02, Court 12, for EVIDENCE, serial 7
-> DLHC010123452024 no upcoming listing in the cause-list data
get_case_details(cnr="MHPU010045672024")
-> Example Traders Pvt Ltd vs R. Kumar, civil suit, PENDING, 14 hearings
get_order_ai_analysis(cnr="MHPU010045672024", filename="order-6.pdf")
-> DATE VERIFIED; order dated 2026-10-21 fixed evidence and directed
the defendant to file documents
Assistant: One case is listed this week. MHPU010045672024 comes up on
2 December 2026 in Court 12 for evidence, serial 7. At the last hearing
on 21 October the court fixed the matter for evidence and directed the
defendant to file documents. Source: eCourts India. Glossary
- MCP (Model Context Protocol)
- An open standard that lets AI assistants call external tools and data sources in a consistent way. An MCP server publishes tools; a client such as Claude or ChatGPT discovers them and calls them when a conversation needs them.
- Remote MCP server
- An MCP server reached over the internet by URL, rather than a program installed on your machine. You add the URL to your assistant and sign in; there is nothing to install or run locally.
- OAuth sign-in
- A standard way to let an app act for you without sharing a password. When you click Connect, the client opens the eCourtsIndia login, you approve access, and the server receives a token that lets the assistant call tools on your account.
- CNR (Case Number Record)
- The unique 16-character identifier eCourts gives every case: a six-character court establishment code, a six-digit case number and the four-digit filing year. Most case tools take a CNR, and search tools return one.
Good to know
- Cause list data covers district and taluka courts; High Court cause list filters return zero results.
- A case refresh queries slow government servers and typically lands in 2 to 10 minutes.
- Order text and analysis are produced on demand; a first call may need a retry after 30 to 60 seconds.
Frequently asked questions
How do I connect eCourtsIndia to Claude?
In Claude.ai or Claude Desktop go to Customize, Connectors, Add custom connector, paste https://mcp.ecourtsindia.com/mcp, leave Client ID and Secret empty and click Add, then Connect. Connect opens the eCourtsIndia login; once you sign in, Claude can call the court data tools in any chat.
Can I use it with ChatGPT?
Yes. In ChatGPT, enable Developer mode, create a connector with the server URL, complete the OAuth sign-in and switch the connector on in a chat. ChatGPT can then search cases, read orders, check cause lists and look up statutes through the same tools Claude uses.
Can an AI assistant check case status by CNR without the eCourts captcha?
Yes. Give the assistant the 16-character CNR and it calls get_case_details for the stage, next hearing and orders, and refresh_case if the record looks stale. You get the answer in the chat without opening the government portal or solving a captcha for each case.
Does the server change anything in court systems?
No. All operations are read-only. Nothing writes to a court system or to your files. Tools that start work on your account, such as a refresh, a cause-list batch or a LegalCheck submission, are never retried automatically, and the assistant is expected to ask before downloading an FIR.
Do I need to install anything?
No. It is a remote server reached over streamable HTTP. Add the URL to your client and sign in. Do not install or run a local stdio server; none is needed. Clients that cannot do OAuth can use the URL with ?token= and a Partner API key instead.
How is this different from searching court websites myself?
On court websites you search one court at a time, solve captchas and read pages yourself. With the MCP server you ask in plain language and the assistant searches across all covered courts, reads the orders, checks cause lists and statutes, and answers with links to the source record.
What should I be careful about when using AI for legal work?
Treat eCourtsIndia as the source of record and read the actual order before citing a holding, date or party. A name match is not an identity match, so confirm identity before drawing conclusions about a person. The statute book says what the law is, not whether it was applied in a case.