Cassie for developers

Bring Indian judgments and Acts into your own tools, through an API or an MCP connector. Both call the same read-only tools.

Before you rely on it

  • Public law only. Your clients, matters and files are not available through the API or the connector.
  • Summaries are prepared with AI, and treatment comes from Cassie's citator, which is partly checked. Read the judgment before you rely on it.
  • No treatment found means none in Cassie's corpus, and nothing more.
  • Your queries are not written to our logs.

Keys and limits

Paid plans only. Create a key in Account, under Developers. It is shown once; Cassie keeps only a hash, so a lost key is replaced, never recovered. Each account may hold five keys.

  • Each key may make 60 calls a minute. Calling a tool counts against the month, listing tools does not.
  • The Pro plan includes 5,000 calls a month, reset on the 1st, India time.
  • Responses carry X-Cassie-Month-Used and X-Cassie-Month-Limit.

Connect with MCP

The server is at https://cassie.in/api/mcp, over HTTP POST with one JSON-RPC message per request. Most clients take a block like this:

{
  "mcpServers": {
    "cassie": {
      "type": "http",
      "url": "https://cassie.in/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Call the API

GET /api/v1/tools lists the tools, and POST /api/v1/tools/<name> calls one with its input as the body.

curl https://cassie.in/api/v1/tools/search_judgments \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "grounds of arrest section 47 BNSS", "limit": 5}'

A success reads { "ok": true, "data": ... }. Data that is not available yet reads "state": "not_connected", and nothing found reads "state": "none_found".

Tools

  • search_judgments

    Search Supreme Court and High Court judgments held by Cassie. Returns summaries; check the judgment before relying on one.

    Input: query (required), limit

  • search_acts

    Search central and state Acts by meaning. Pass a state to include that state's Acts.

    Input: query (required), limit, state

  • judgment_treatment

    How later judgments treated this one, from Cassie's citator, which is partly checked. No treatment only means none was found in Cassie's corpus, so check before relying.

    Input: corpus, source_id (required)

  • lookup_citation

    Find the judgment behind a reporter citation, such as AIR 1990 SC 119.

    Input: citation (required)

  • section_judgments

    Judgments that cite a section of an Act.

    Input: act_slug (required), section (required)

  • section_digest

    What courts have said on a section, prepared by Cassie. Check the judgment before relying on an entry.

    Input: act_slug (required), section (required)

  • ecourts_case_by_cnr

    Look up a District Court or High Court case by its 16-character CNR: parties, status, hearing history, acts and orders.

    Input: cnr (required), court_type

  • get_case_orders

    Fetch all interim and final orders with freshly resolved downloadable PDF URLs for a District Court or High Court CNR.

    Input: cnr (required), court_type

  • sci_options

    Dropdown choices for Supreme Court of India searches: official case types, years, party types and statuses.

    Input:

  • sci_search_cases

    Search Supreme Court of India case status by diary number, case number, CNR, AOR code or party name.

    Input: by (required), diary_no, case_type, case_no, cnr, aor_code, party_name, year, party_type, status

  • sci_case_details

    Fetch Supreme Court of India case details, listing dates, lower-court details or order PDF links by diary number and year.

    Input: diary_no (required), year (required), tab_name

  • list_tribunals

    List Indian Tribunals and forums supported by Cassie (NCLAT, NCLT, ITAT, CESTAT, SAT, GSTAT, CAT, TDSAT, DRT, DRAT, APTEL, e-Jagriti, AFT, NGT, SEBI, CCI, ATFP, CIC) and their benches.

    Input: tribunal

  • search_tribunal_cases

    Search cases in an Indian Tribunal or regulatory forum by case or appeal number, filing number, party or assessee name, or advocate name.

    Input: tribunal (required), bench, appeal_type, case_no, year, filing_no, filing_date, ack_no, party, advocate, free_text

  • get_tribunal_case

    Fetch case details, status, hearing history and order PDF links for a case in an Indian Tribunal.

    Input: tribunal (required), filing_no (required), bench

  • get_tribunal_causelist

    Fetch daily cause list rows and official PDF links for an Indian Tribunal, with optional party, advocate or case matching.

    Input: tribunal (required), date, bench, match_advocate, match_party, match_case

  • list_causelist_benches

    List judicial benches sitting on a given date across any of India’s 25 High Courts (and District Courts) via eCourts.

    Input: courtType, stateCode (required), districtCode (required), courtCode, date (required)

  • get_cause_list

    Fetch the daily cause list (including parsed itemised entries from High Court PDFs across all 25 High Courts, or District Court room lists).

    Input: courtType, stateCode (required), districtCode (required), courtCode, date (required), benchId, courtNo, listType

Errors

401
The key is missing, wrong or revoked.
403
The account is not on a paid plan.
429
Too many calls this minute, or the month is used up. Retry-After says when, for the minute limit.
400
The input does not fit the tool.
502
A read failed. Try again shortly.
Cassie for developers | Cassie