https://api.secapi.ai/mcp. GET /mcp is public discovery metadata. Authenticated POST JSON-RPC requests, including tool calls, use an API key in x-api-key; keep that key in the client process environment, not in a prompt, URL, or repository.
Add the API key
Create a key in the signed-in dashboard, then expose it to the client process:Configure Claude Code
Read the public discovery metadata
GET /mcp is public and returns the deployed server’s connection metadata and install guidance. It does not verify an API key or authorize a tool call.
Make authenticated tool calls through the client
After the client has the API key, ask it to discover the current catalog before it makes an authenticated tool call:tools.search and tools.describe are SEC API tools, not JSON-RPC methods. The MCP client invokes them through authenticated POST JSON-RPC tools/call requests. Treat structured output and returned identifiers as the source record; provenance, freshness, truncation, and trace context are available only when the selected tool returns them.
Repair a failed connection
- No tools appear: reload configuration and confirm that
SECAPI_API_KEYis visible to the client process. 401or403: repair or rotate the API key. Do not substitute a browser bearer token.- JSON-RPC validation error: send one JSON-RPC 2.0 request object with the required request ID. Batch requests are not supported.
- Validation, billing, quota, or timeout result: retain the returned request ID, narrow the next call, and follow the response instead of replaying a broad job.

