Skip to Content
Vidhi Developers
Guide

Introduction

Unified Bharat legal intelligence REST API, Hosted Streamable HTTP MCP, CLI, and SDKs for Cohort 1.

Open Markdown

Vidhi Developer Platform gives engineering teams and AI agents programmatic access to Bharat's structured judicial and statutory intelligence under /api/v1/in/* (https://api.vidhi.shamik.app) and Hosted Streamable HTTP MCP (https://vidhi-mcp.shamik.app/mcp).

What Cohort 1 Includes

CapabilityScale & ScopeSurface
Judicial Corpus130,979 clean rulings across the Supreme Court of India, 25+ High Courts, and 12 full-text tribunalsTier A REST, CLI, SDKs, MCP
Central Statutes669 Central Acts and 31,437 embedded statutory sectionsTier A REST, CLI, SDKs, MCP
Citation Graph337,015 citation edges powering later_court_treatment and outbound/inbound traversalTier A REST, CLI, SDKs, MCP
Pre-Extracted Intelligence52,116 LLM-classified rulings with ratio_decidendi, key_findings, arguments_structured, and judgment_sectionsTier A REST, CLI, SDKs, MCP
Core Tier B SOTA Engines7 legal reasoning engines (verify/brief, audit/order, audit/counter-precedent, research/memo, notices/analyze, contracts/triage, compliance/redact-firewall) + Eighth Schedule translationTier B REST, CLI, SDKs, MCP (6 core tools)
  • String-encoded BIGINT IDs: All corpus document IDs and statute IDs are serialized as decimal JSON strings (^[0-9]+$) to prevent IEEE-754 precision loss in JavaScript and TypeScript clients.
  • Zero-PII Audit Trail: Metered calls record structural telemetry and query_hmac (HMAC-SHA256) in api_usage_logs — never raw Bearer tokens, brief text, or client PII.
  • No Unverified Endorsements: Outputs surface source provenance, date_quality, text_reliability, and known_limits transparently without claiming independent external lawyer validation.
  • Automatic Credit Refunds: Upstream 5xx errors, 422 privilege_enclave_blocked, 404 intelligence_not_extracted, 404 pdf_unavailable, incomplete case bodies (complete: false), cancelled async jobs, and unresolved items in batch /citations/resolve automatically refund reserved credits.

Next Steps

On this page