MCP tool-call quickstart

Run the SEC MCP demo tool call first

A short setup path for MCP clients that have discovered the SEC Filing MCP Server and need one public tools/call request before choosing REST or hosted MCP production access.

tools/call sec_demo_latest_filings
curl -sS https://api.data-apis.com/mcp \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":"demo-latest-filings","method":"tools/call","params":{"name":"sec_demo_latest_filings","arguments":{"limit":3}}}'

Setup Steps

These checks are public and intentionally small. They let a buyer verify the remote MCP endpoint before sending production credentials.

1. Call the demo tool

Use sec_demo_latest_filings without a key to confirm the remote MCP endpoint and response shape.

2. Call subscription info

Use sec_subscription_info to return pricing, REST checkout, hosted MCP access, and client-config links.

3. Add production auth

Send x-api-key or Authorization: Bearer only when calling production SEC filing tools.

Public demo call

The demo call returns a limited public sample and subscription handoff links. It does not require an API key.

JSON-RPC payload
{
  "jsonrpc": "2.0",
  "id": "demo-latest-filings",
  "method": "tools/call",
  "params": {
    "name": "sec_demo_latest_filings",
    "arguments": {
      "limit": 3
    }
  }
}

Subscription info call

The subscription-info call returns RapidAPI REST checkout, hosted MCP access, pricing, docs, and client configuration links.

tools/call sec_subscription_info
curl -sS https://api.data-apis.com/mcp \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":"subscription-info","method":"tools/call","params":{"name":"sec_subscription_info","arguments":{}}}'

Production handoff

After public setup succeeds, choose the access path that matches the client. REST usage goes through RapidAPI. Hosted MCP production tools use the remote MCP URL with buyer-controlled API-key headers.

Data infrastructure only. MCP tools expose public SEC filing metadata and setup handoff links. Production data tool calls are read-only and do not provide investment advice, ratings, recommendations, or personalized financial guidance.