# Company Diligence MCP (`themineworks/company-diligence-mcp`) Actor

Official-registry company diligence for AI agents: SEC EDGAR, GLEIF LEI, EU VAT, court records, federal awards, reputation. No result, no charge.

- **URL**: https://apify.com/themineworks/company-diligence-mcp.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** MCP servers, Business
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $60.00 / 1,000 resolve companies

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Company Diligence MCP

**Your agent hallucinates CIKs, LEIs, and VAT numbers. This grounds it in official registries.**

Ten tools over official sources — SEC EDGAR, GLEIF, US state business registries, CourtListener, USAspending, EU VIES, and news — behind one MCP endpoint, with normalized JSON and honest billing.

Built by [The Mine Works](https://apify.com/themineworks), on top of our published data actors.

### Tools

| Tool | What it returns | Price per successful call |
|---|---|---|
| `resolve_company` | Verified identity: LEI, SEC CIK, registry match | $0.10 |
| `get_state_registration` | Entity status, type, formation date, **registered agent, officers** | $0.08 |
| `get_sec_filings` | SEC filings (10-K, 10-Q, 8-K…) with direct document URLs | $0.08 |
| `search_filings_fulltext` | Full-text keyword search across EDGAR filings | $0.10 |
| `get_lei_record` | GLEIF LEI records: legal name, addresses, status, renewal dates | $0.05 |
| `verify_vat` | EU VAT validation against the official VIES service | $0.05 |
| `get_court_records` | US court opinions and dockets from CourtListener | $0.12 |
| `get_federal_awards` | US federal contracts and grants from USAspending.gov | $0.10 |
| `get_reputation` | Trustpilot rating and reviews + recent news coverage | $0.12 |
| `full_diligence_report` | All of the above for one company, in one call | **$0.50** complete · $0.30 partial · $0.05/section · $0 if nothing found |

**The complete dossier always costs less than calling these tools one by one.**

### Worked example

Ask your agent: *"Who are the officers of Tesla, and is the entity in good standing?"*

```json
// tools/call → get_state_registration
{ "company_name": "Tesla, Inc.", "states": ["CT"] }
```

```json
{
  "entity_name": "TESLA, INC.",
  "match_type": "exact",
  "state": "CT",
  "status": "Active",
  "formation_date": "2012-06-14",
  "registered_agent": {
    "name": "C T CORPORATION SYSTEM",
    "city": "Manchester",
    "state": "CT",
    "zip": "06040-4471"
  },
  "officers": [
    { "name": "Elon Musk", "city": "Austin", "state": "TX" },
    { "name": "Emmanuelle Stewart", "city": "Austin", "state": "TX" }
  ],
  "source_url": "https://service.ct.gov/business/s/onlinebusinesssearch",
  "source_dataset": "data.ct.gov/n7gp-d28j"
}
```

Every record carries `source_url` and `source_dataset`, so your agent can cite where the fact came from.

### Setup

The server speaks Streamable HTTP. Use your Apify API token as a bearer token.

**Claude Desktop / Claude Code** — add to your MCP config:

```json
{
  "mcpServers": {
    "company-diligence": {
      "url": "https://themineworks--company-diligence-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

**Cursor** — same block in `.cursor/mcp.json`.

**Windsurf** — same block under `mcpServers` in your Windsurf MCP settings.

Cold start is about 6 seconds; warm calls answer in about a second.

### Billing promise

**No result, no charge. Ever.**

- A lookup that finds nothing costs nothing — not a reduced fee, nothing.
- Repeat an identical call within 60 seconds and it's free (retries shouldn't cost twice).
- The dossier is priced by what it actually delivered: complete $0.50, partial $0.30, or $0.05 per section when only a few sources have data. Nothing found, nothing billed.
- Apify plan discounts apply on top — down to $0.30 for a complete dossier on Business.

Apify platform usage is billed by Apify on top of these prices, as with any Standby actor.

### Coverage — read this before you buy

Honest limits, so you can judge fit:

- **Deepest for US companies.** SEC filings, federal contracts, and litigation are US-only by nature.
- **Strong for the EU**: LEI, VAT validation, identity resolution, reputation.
- **Thinner elsewhere.** A company with no US or EU footprint will return fewer sections — and you'll be charged accordingly, or not at all.
- **State registry coverage today: New York, Colorado, Connecticut, Oregon.** Officer rosters are published by Connecticut and Oregon. **Delaware has no public API and is not covered** — if Delaware incorporation data is your requirement, this is not your tool yet.

If you only need state incorporation rows, cheaper single-source scrapers exist. This server is for agents that need the whole picture — identity, filings, litigation, contracts, and reputation — in one call, with citations and no charge on misses.

### More from The Mine Works

Individual actors behind these tools are published separately at [apify.com/themineworks](https://apify.com/themineworks) — SEC EDGAR, GLEIF LEI, CourtListener, USAspending, US state registries, Trustpilot, Google News, and 60+ more. Full MCP server suite: [themineworks.com/mcp](https://themineworks.com/mcp).

# Actor input Schema

## `readme` (type: `string`):

This Actor serves SEC filings, GLEIF LEI, US state registries, court records, federal contracts and EU VAT to AI agents over the Model Context Protocol.

Connect your MCP client to:
https://themineworks--company-diligence-mcp.apify.actor/mcp

with your Apify API token as a Bearer token. Works in Claude Desktop, Claude Code, Cursor and Windsurf — copy-paste config blocks are in the README.

Starting a normal run here does nothing except print this pointer.

## Actor input object example

```json
{
  "readme": "Connect your MCP client to https://themineworks--company-diligence-mcp.apify.actor/mcp — see the README."
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/company-diligence-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/company-diligence-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call themineworks/company-diligence-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=themineworks/company-diligence-mcp",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/WhAeI5nlh8IheWCAT/builds/oXWS17h6bdTe91WaK/openapi.json
