Company search and enrichment from official business registers in 200+ countries.
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.
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" }
}
}
}
Requires Node.js 18+.
{
"mcpServers": {
"companydata": {
"command": "npx",
"args": ["-y", "@companydata/mcp-server"],
"env": { "COMPANYDATA_API_KEY": "your-api-key-here" }
}
}
}
git clone https://github.com/companydatacom/companydata-mcp-server.git
cd companydata-mcp-server
npm install
npm run build
| Variable | Required | Description |
|---|---|---|
COMPANYDATA_API_KEY | Yes | Sent as x-api-key on every request |
COMPANYDATA_API_BASE_URL | No | API 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).
| Tool | API |
|---|---|
company_search | GET /api/company/search |
company_enrich | GET /api/company/export with ID and export=true |
field_lookup | GET /api/cities |
npm run build).{
"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"
}
}
}
}
npm run build && node dist/index.js with env set).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"
}
}
}
}
After npm run build, the package exposes companydata-mcp when linked (npm link) or when node_modules/.bin is on PATH.
https://companydata.com/mcp/ (Streamable HTTP, stateless). The website serves the same tools from a copy of src/tools.ts.@companydata/mcp-server.com.companydata/mcp (see server.json).ISC
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @companydata/mcp-serverMerge 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.
{
"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@companydata/mcp-servernpmCompanyData 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.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..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.