Back to Directory/Search & Knowledge

CompanyData

Company search and enrichment from official business registers in 200+ countries.

Search & KnowledgeTypeScriptv1.1.0

CompanyData MCP server

Model Context Protocol server that exposes the CompanyData HTTP API as tools: company search, company export (enrich), and location lookup (cities).

Product overview and setup guide: companydata.com/product/mcp-server/.

OpenAPI contract: https://companydata.com/openapi.json.

Hosted (no install)

Connect your MCP client to https://companydata.com/mcp/ and send your API key in the x-api-key header (get a key).

Claude Code:

claude mcp add --transport http companydata https://companydata.com/mcp/ --header "x-api-key: your-api-key-here"

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "companydata": {
      "url": "https://companydata.com/mcp/",
      "headers": { "x-api-key": "your-api-key-here" }
    }
  }
}

Local (npx)

Requires Node.js 18+.

{
  "mcpServers": {
    "companydata": {
      "command": "npx",
      "args": ["-y", "@companydata/mcp-server"],
      "env": { "COMPANYDATA_API_KEY": "your-api-key-here" }
    }
  }
}

Build from source

git clone https://github.com/companydatacom/companydata-mcp-server.git
cd companydata-mcp-server
npm install
npm run build

Environment

VariableRequiredDescription
COMPANYDATA_API_KEYYesSent as x-api-key on every request
COMPANYDATA_API_BASE_URLNoAPI origin, default https://app.companydata.com (no trailing slash)

Copy .env.example to .env for local testing with npm run dev (load env in shell: set -a && source .env && set +a && npm run dev).

Tools

ToolAPI
company_searchGET /api/company/search
company_enrichGET /api/company/export with ID and export=true
field_lookupGET /api/cities

Cursor & Claude Desktop

  1. Build the project (npm run build).
  2. In your MCP host (e.g. Cursor Settings → MCP or Claude Desktop config), add a server (adjust paths):
{
  "mcpServers": {
    "companydata": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/companydata-mcp-server/dist/index.js"],
      "env": {
        "COMPANYDATA_API_KEY": "your-api-key-here",
        "COMPANYDATA_API_BASE_URL": "https://app.companydata.com"
      }
    }
  }
}
  1. Reload MCP / restart Cursor if needed.

Smoke checklist

  • Server starts without errors (npm run build && node dist/index.js with env set).
  • MCP host lists tools: company_search, company_enrich, field_lookup.
  • company_search returns 200 payload for a simple query (e.g. search=BoldData).
  • field_lookup returns city suggestions (e.g. search=amst).

Development without a separate build step:

{
  "mcpServers": {
    "companydata": {
      "command": "npx",
      "args": ["tsx", "/ABSOLUTE/PATH/TO/companydata-mcp-server/src/index.ts"],
      "env": {
        "COMPANYDATA_API_KEY": "your-api-key-here",
        "COMPANYDATA_API_BASE_URL": "https://app.companydata.com"
      }
    }
  }
}

CLI

After npm run build, the package exposes companydata-mcp when linked (npm link) or when node_modules/.bin is on PATH.

Distribution

  • Hosted: https://companydata.com/mcp/ (Streamable HTTP, stateless). The website serves the same tools from a copy of src/tools.ts.
  • npm: @companydata/mcp-server.
  • Official MCP Registry: com.companydata/mcp (see server.json).

License

ISC

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @companydata/mcp-server

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "com-companydata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@companydata/mcp-server"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@companydata/mcp-servernpm

Compatible MCP Clients

CompanyData works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More