MCP (beta)
Model Context Protocol server
POST
/v1/mcp MCP (Model Context Protocol) endpoint for AI agents. Returns available tools and executes tool calls using JSON-RPC 2.0 protocol.
Beta Notice: This endpoint is in beta. Currently supports Instant Entity Search only. Entity Resolution and Business Intelligence coming soon.
Available Tools:
search_legal_entities: Fast search across 265M+ legal entities
Protocol: Implements MCP JSON-RPC 2.0. Supports tools/list, tools/call, initialize, and notifications/initialized methods.
Learn more: Model Context Protocol
Request body
jsonrpcstring (enum) required2.0JSON-RPC versionidoneOf<string | number>Request ID (optional for notifications)methodstring (enum) requiredtools/listtools/callinitializenotifications/initializedMCP method to invokeparamsobjectMethod parametersShow 2 nested fieldsHide nested fields
namestringTool name (for tools/call)argumentsobjectTool arguments (for tools/call)Show 3 nested fieldsHide nested fields
namestringEntity name to searchcountry_codestringISO country code filterregion_codestringRegion/state code filter
Responses
200 OK
jsonrpcstringidoneOf<string | number>resultobjectMethod resulterrorobjectError object (if method failed)Show 2 nested fieldsHide nested fields
codeintegermessagestring
400 Bad Request
errorobjectAn error object.Show 2 nested fieldsHide nested fields
messagestringThe error messagetypestringThe error code
401 Unauthorized
messagestringThe error object.request_idstringThe request ID for the error.
500 Internal Server Error
errorobjectAn error object.Show 2 nested fieldsHide nested fields
messagestringThe error messagetypestringThe error code
Example request
cURL
curl --request POST \
--url 'https://api.savvyiq.ai/v1/mcp' \
--header 'apikey: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Example response
Tools list response200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{
"name": "search_legal_entities",
"description": "Search for legal entities (companies) by name with optional geographic and other filters. Returns detailed company information including registration details, addresses, and business status.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Company name to search for (required, minimum 2 characters after sanitization)"
},
"country_code": {
"type": "string",
"description": "ISO country code filter (2-3 characters, e.g., 'US', 'GB', 'CA'). Case insensitive.",
"pattern": "^[A-Za-z]{2,3}$"
},
"region_code": {
"type": "string",
"description": "Region/province/state code filter (2-10 alphanumeric characters). Examples: US states ('CA', 'NY'), Canadian provinces ('ON', 'BC'), etc. Case insensitive.",
"pattern": "^[A-Za-z0-9]{2,10}$"
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
]
}
}