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

Codex · Public Records

How to Use India eCourts districts in Codex

Fetch the districts listed under a state or union territory on India eCourts. Use it to organize court research by district before identifying individual court complexes.

Prompts to try with India eCourts districts in Codex

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

Use India eCourts districts for Maharashtra and add the returned districts beneath Maharashtra in this project's court directory.

India eCourts districtsCodex
Try asking
  • Use India eCourts districts to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from India eCourts districts and tell me what changed since last week.

  • Check India eCourts districts and summarize what you find in three bullet points.

  • Pull the newest data from India eCourts districts and give me the result as a table.

How to set up India eCourts districts in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 districts

    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/list_districts",
        "input": {
          "state_code": "<state_code>"
        }
      }'

Then paste one of the prompts above: Codex finds India eCourts districts on Spiral, shows the price and runs it.

India eCourts districts providers and prices

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

AlexandriaPublic Records
India eCourts district court services · List districts
services-ecourts-gov-in/court-cases/list_districts

What can you do with India eCourts districts in Codex?

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.

Create a regional court directory

Compile the states, districts, court complexes, and establishments listed for a legal team's operating regions. Keep each establishment attached to its full directory path.

Review changes to court directory listings

Compare successive directory results for selected regions and report added, removed, or renamed entries at the state, district, complex, and establishment levels.

Questions about India eCourts districts in Codex

Can Codex use India eCourts districts?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run India eCourts districts like any built-in tool.

How much does India eCourts districts cost in Codex?

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

Do I need an Alexandria account to use India eCourts districts in Codex?

No. Spiral runs India eCourts districts 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 districts in Codex?

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

Does Codex wait while India eCourts districts runs?

India eCourts districts runs in the background. Codex 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 districts in Codex

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

Paste this into Codex:

Set up Codex

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