MCP Server
Call ERIP company tools directly from AI agents using the Model Context Protocol (MCP).
The ERIP Gateway exposes a built-in MCP (Model Context Protocol) server at /mcp. AI agents — Claude Desktop, custom LLM workflows, or any MCP-compatible client — can call the same company search and detail endpoints as LLM-native tools, authenticated with the same API key used for the REST API.
Available Tools
| Tool | Description | Credits |
|---|---|---|
search_companies | Search the European company index by name, LEI, or registration number | 1 |
get_company_detail | Return full risk intelligence for a company ID from search_companies | 5 |
search_companies
Searches the index and returns a JSON array of matching companies. Supply one of:
name— partial company name, case-insensitive, minimum 4 characterslei— Legal Entity Identifier (LEI) coderegistrationNumber+countryCode— national registration number with ISO 3166-1 alpha-2 country code
Use the id field from the results as input to get_company_detail.
get_company_detail
Returns the full company detail document for a given id, including:
- Risk signals (covenant tightening, auditor language change, liquidity risk, going concern)
- Covenant monitoring data (thresholds, headroom, status, lender details)
- Ownership structure (parent/child company graph)
- Financial events (filings ingested, charges registered, director changes)
- Sentiment time series (social network and news sentiment scores)
Connect from Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"elia-sephirot": {
"type": "http",
"url": "https://api.erip.io/mcp",
"headers": {
"X-Api-Key": "erip_YOUR_API_KEY"
}
}
}
}Replace erip_YOUR_API_KEY with the raw key returned when you create an API key.
Connect from a Custom Agent
Any MCP HTTP client can connect to the same endpoint. Pass the API key in the X-Api-Key header on every request:
POST /mcp
X-Api-Key: erip_YOUR_API_KEY
Content-Type: application/jsonThe server follows the standard MCP HTTP transport (JSON-RPC over HTTP with SSE for streaming).
Authentication
The MCP endpoint uses the same authentication as the REST API. Every connection attempt is validated against your API key before any tool call is processed. An invalid or missing key returns 401 Unauthorized.
See Authentication to register, log in, and create an API key.
Credits
Each tool call deducts credits from your account balance, using the same per-operation costs as the equivalent REST endpoint. If your balance is insufficient, the tool returns an error describing the cost and your remaining balance:
Insufficient credits. This operation costs 5 credits; 3 remaining.Unlike the REST API, the MCP transport does not return X-Credits-Remaining or X-Credits-Cost headers — credit usage is visible in the error message on exhaustion and via GET /api/v1/auth/credits on the REST API.
Quick Start
- Register —
POST /api/v1/auth/register→ receive a JWT token - Create an API key —
POST /api/v1/auth/api-keys(Bearer JWT) → receiverawKey - Configure your MCP client — set
urltohttps://api.erip.io/mcpandX-Api-Keyto the raw key - Search — call
search_companieswithname="Heidelberg"→ JSON array of matching companies - Detail — call
get_company_detailwith theidfrom step 4 → full risk intelligence document