[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [India eCourts case details by CNR](https://spiral.ai/integrations/opencode/india-ecourts-case-details-by-cnr)

# 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.

|  |  |
| --- | --- |
| Model | India eCourts case details by CNR |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

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

- 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.
- 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
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.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## India eCourts case details by CNR tools and prices

- [India eCourts district court services · Get case by cnr](https://spiral.ai/tools/alexandria/services-ecourts-gov-in/court-cases/get_case_by_cnr) (Alexandria): $0.00873 per call.

## 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## India eCourts case details by CNR in other agents

- [Amp](https://spiral.ai/integrations/amp/india-ecourts-case-details-by-cnr)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/india-ecourts-case-details-by-cnr)
- [Claude](https://spiral.ai/integrations/claude-desktop/india-ecourts-case-details-by-cnr)
- [Claude Code](https://spiral.ai/integrations/claude-code/india-ecourts-case-details-by-cnr)
- [Cline](https://spiral.ai/integrations/cline/india-ecourts-case-details-by-cnr)
- [Codex](https://spiral.ai/integrations/codex/india-ecourts-case-details-by-cnr)
- [Cursor](https://spiral.ai/integrations/cursor/india-ecourts-case-details-by-cnr)
- [Devin](https://spiral.ai/integrations/devin/india-ecourts-case-details-by-cnr)
- [dots](https://spiral.ai/integrations/dots/india-ecourts-case-details-by-cnr)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/india-ecourts-case-details-by-cnr)
- [Gemini](https://spiral.ai/integrations/gemini/india-ecourts-case-details-by-cnr)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/india-ecourts-case-details-by-cnr)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/india-ecourts-case-details-by-cnr)
- [goose](https://spiral.ai/integrations/goose/india-ecourts-case-details-by-cnr)
- [Grok](https://spiral.ai/integrations/grok/india-ecourts-case-details-by-cnr)
- [Grok Build](https://spiral.ai/integrations/grok-build/india-ecourts-case-details-by-cnr)
- [Hermes](https://spiral.ai/integrations/hermes/india-ecourts-case-details-by-cnr)
- [Instinct](https://spiral.ai/integrations/instinct/india-ecourts-case-details-by-cnr)
- [Manus](https://spiral.ai/integrations/manus/india-ecourts-case-details-by-cnr)
- [Muse](https://spiral.ai/integrations/muse/india-ecourts-case-details-by-cnr)
- [Muse Code](https://spiral.ai/integrations/muse-code/india-ecourts-case-details-by-cnr)
- [n8n](https://spiral.ai/integrations/n8n/india-ecourts-case-details-by-cnr)
- [Notion](https://spiral.ai/integrations/notion/india-ecourts-case-details-by-cnr)
- [OpenClaw](https://spiral.ai/integrations/openclaw/india-ecourts-case-details-by-cnr)
- [Perplexity](https://spiral.ai/integrations/perplexity/india-ecourts-case-details-by-cnr)
- [Raycast](https://spiral.ai/integrations/raycast/india-ecourts-case-details-by-cnr)
- [VS Code](https://spiral.ai/integrations/vscode/india-ecourts-case-details-by-cnr)
- [Windsurf](https://spiral.ai/integrations/windsurf/india-ecourts-case-details-by-cnr)
- [Zapier](https://spiral.ai/integrations/zapier/india-ecourts-case-details-by-cnr)

## More opencode guides

- [IEA energy statistics](https://spiral.ai/integrations/opencode/iea-energy-statistics)
- [India eCourts court complexes](https://spiral.ai/integrations/opencode/india-ecourts-court-complexes)
- [IEA energy dataset details](https://spiral.ai/integrations/opencode/iea-energy-dataset-details)
- [India eCourts court establishments](https://spiral.ai/integrations/opencode/india-ecourts-court-establishments)
- [IEA energy dataset catalog](https://spiral.ai/integrations/opencode/iea-energy-dataset-catalog)
- [India eCourts districts](https://spiral.ai/integrations/opencode/india-ecourts-districts)

## 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.

