# India Company Diligence

> India Company Diligence is an open-source MCP server for legal and government. Look up Indian companies by CIN from a local MCA mirror, with provenance on every field. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, macOS, Windows, Linux
- **Website:** https://pypi.org/project/india-company-diligence/
- **Repository:** https://github.com/amit043/india-company-diligence
- **MCP Registry name:** io.github.amit043/india-company-diligence
- **Categories:** legal and government, analytics and data
- **Listing updated:** 2026-11-14

## About

Instead of calling a live service, this server queries a local DuckDB copy of the Ministry of Corporate Affairs company master data covering 3,738,721 companies. You fetch the mirror once with `icd-fetch`, roughly a 530 MB download and 1.4 GB on disk. The version described was built on 2026-10-25 from an upstream dataset updated 2026-10-13, and monthly rebuilds are planned.

Every answer returns data alongside a provenance list naming each field's source and as-of date, plus lists of what is missing or stale, so gaps are stated rather than filled in. In the README demo, a vendor check surfaces an Active company and a similarly named one marked Strike Off. Directors, charges and financials are not available yet; a live MCA layer is on the roadmap.

Two tools work fully offline: a CIN decoder that reads listing status, state, year and company type from the identifier, and a GSTIN validator that checks structure and the mod-36 checksum. The validator deliberately does not return legal name or registration status, since no keyless public GST API exists. The data is published under India's Government Open Data License.

## Features

- **Local MCA mirror:** Queries a 3.74 million company copy of the master data without a network call.
- **Provenance on every field:** Each answer lists field sources, as-of dates, missing items and stale items.
- **CIN decoding:** Reads listing status, state, year and company type from a CIN offline.
- **GSTIN validation:** Checks GSTIN structure and the mod-36 checksum offline.
- **Name search:** Case-insensitive search returning up to 50 ranked rows.
- **Open source:** MIT licensed, with a roadmap for live director and charge data.

## Good for

- Check a vendor before extending credit
- Confirm an Indian company's status and registrar
- Spot lookalike company names before paying an invoice
- Validate GSTIN formats in a document pipeline
- Decode what a CIN says about a company

## Install

### Claude Code (Terminal)

```sh
claude mcp add india-company-diligence -- uvx india-company-diligence
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "india-company-diligence": {
      "command": "uvx",
      "args": [
        "india-company-diligence"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "india-company-diligence": {
      "command": "uvx",
      "args": [
        "india-company-diligence"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "india-company-diligence": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "india-company-diligence"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "india-company-diligence": {
      "command": "uvx",
      "args": [
        "india-company-diligence"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "india-company-diligence": {
      "command": "uvx",
      "args": [
        "india-company-diligence"
      ]
    }
  }
}
```

## Tools

- `company_lookup`: Returns the full registry row for one CIN with per-field provenance.
- `company_search`: Searches companies by name, returning up to 50 ranked rows.
- `cin_decode`: Decodes listing status, state, year and company type from a CIN offline.
- `gstin_validate`: Validates GSTIN structure and checksum offline.

## FAQ

### Does it need internet access?

The lookups use a local mirror; CIN decoding and GSTIN validation need no network.

### How big is the data download?

About 530 MB to download and 1.4 GB on disk.

### Does it return directors or financials?

Not yet. They are listed as missing pending a live layer.

### Where does the data come from?

MCA Company Master Data via data.gov.in under the Government Open Data License - India.

### What licence is the code?

MIT.

### Is India Company Diligence free?

Yes. India Company Diligence is open source, so you can use and self-host it for free.

### How do I add India Company Diligence to Claude Code?

Run this command in your terminal: claude mcp add india-company-diligence -- uvx india-company-diligence

### What are the best alternatives to India Company Diligence?

The closest alternatives to India Company Diligence are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/india-company-diligence
