Spiral gives your agent every tool with one account. Browse the tools →

opencode · Public Records

How to Use India eCourts case details by CNR in opencode

Fetch a case's current status, hearing history, party details, and available order information from India eCourts. Use it to review a known case by its CNR rather than browse court directories.

Prompts to try with India eCourts case details by CNR in opencode

Copy an example into opencode, or ask in your own words.

Use India eCourts case details by CNR for DLST010144592025, the State Bank of India and Pehlwan Agro India business dispute, and add a status and hearing-history view to this project without displaying personal identifiers.

India eCourts case details by CNRopencode
Try asking
  • Use India eCourts case details by CNR to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from India eCourts case details by CNR and tell me what changed since last week.

  • Check India eCourts case details by CNR and summarize what you find in three bullet points.

  • Pull the newest data from India eCourts case details by CNR and give me the result as a table.

How to set up India eCourts case details by CNR in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run India eCourts case details by CNR

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "services-ecourts-gov-in/court-cases/get_case_by_cnr",
        "input": {
          "cnr": "<cnr>"
        }
      }'

Then paste one of the prompts above: opencode finds India eCourts case details by CNR on Spiral, shows the price and runs it.

India eCourts case details by CNR providers and prices

Spiral runs India eCourts case details by CNR through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
India eCourts district court services · Get case by cnr
services-ecourts-gov-in/court-cases/get_case_by_cnr

What can you do with India eCourts case details by CNR in opencode?

Build a company matter register with court directory paths and CNR case histories. A coding agent can turn the returned eCourts records into project data files, directory views, and dated case summaries.

Build a company matter register

Organize known business disputes by state, district, court complex, and establishment, then attach the status and hearing history retrieved for each CNR.

Prepare business case handoffs

Give a legal team a brief for each known corporate matter: its court directory path, reported status, hearing chronology, and available order information.

Reconcile court names in corporate records

Compare court labels in a company's matter register with the eCourts directory hierarchy and the court information returned for known CNRs. Produce a list of naming discrepancies for review.

Maintain a business litigation reporting log

For a newsroom's selected company disputes, organize venues through the court directory and compare reported case status and hearing history between checks.

Summarize a known commercial case

Turn the returned hearing history and available order information for a business dispute into a dated chronology, with the reported case status at the top.

Questions about India eCourts case details by CNR in opencode

Can opencode use India eCourts case details by CNR?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run India eCourts case details by CNR like any built-in tool.

How much does India eCourts case details by CNR cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use India eCourts case details by CNR in opencode?

No. Spiral runs India eCourts case details by CNR on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up India eCourts case details by CNR in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while India eCourts case details by CNR runs?

India eCourts case details by CNR runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Which part of India's court system does this source cover?

This portal is labeled for District and Taluka Courts of India. Keep that coverage boundary in mind when building a court directory or researching a case.

How does eCourts distinguish court locations?

The district court portal uses four levels: state, district, court complex, and establishment. Preserve those distinctions when organizing court records.

Does eCourts guarantee that its information is current?

Its disclaimer explicitly allows for delays in updating the website's data. A successful retrieval does not establish that the court's latest change has already appeared.

Can information from the portal serve as legal evidence?

The portal expressly says its information is not meant for legal evidence. Its disclaimer also warns about data inaccuracies.

What attribution does eCourts require when reproducing its content?

The district court portal's copyright policy requires the source to be acknowledged prominently when its contents are reproduced, whether partially or fully.

Get started

Start using India eCourts case details by CNR in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options