SEC API docs ▾

MCP server

Call the SEC MCP server with curl: raw JSON-RPC

The server is stateless Streamable HTTP. Each request is a JSON-RPC 2.0 message POSTed to the server URL, and the answer comes back as JSON. There's no session to open, so tools/call works as the first and only request. The examples use an API key; the end of the page covers OAuth for agents that sign users in.

List the tools

shell
curl -s https://www.quantisnow.com/api/v1/mcp \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

The Accept header has to name both types, as the MCP spec asks; without it the server answers 406. Listing tools is free.

Call a tool

shell
curl -s https://www.quantisnow.com/api/v1/mcp \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "full_text_search",
      "arguments": {
        "query": "\"substantial doubt\" AND \"going concern\"",
        "formTypes": ["10-Q", "10-Q/A"],
        "sort": "filedAt:desc",
        "size": 5
      }
    }
  }'

The answer is result.content[0].text, a JSON string with total and data, the same records the REST API returns. When a query is wrong, result.isError is true and the text says why, so an agent can read it and try again.

Which companies have warned about going-concern doubt in their latest 10-Q?
tool call · full_text_search
{
  "name": "full_text_search",
  "arguments": {
    "query": "\"substantial doubt\" AND \"going concern\"",
    "formTypes": [
      "10-Q",
      "10-Q/A"
    ],
    "sort": "filedAt:desc",
    "size": 5
  }
}
tool result · first 2 records
{
  "total": {
    "value": 684,
    "relation": "eq"
  },
  "data": [
    {
      "id": "0001493152-26-053834",
      "kind": "filing",
      "source": "SEC",
      "accessionNo": "0001493152-26-053834",
      "formType": "10-Q",
      "filedAt": "2026-11-23T17:27:40-05:00",
      "cik": "0001392694",
      "companyName": "SurgePays Inc.",
      "ticker": "SURG",
      "tickers": [
        "SURG"
      ],
      "items": [],
      "description": "SEC Form 10-Q filed by SurgePays Inc.",
      "linkToFilingIndex": "https://www.sec.gov/Archives/edgar/data/1392694/000149315226053834/0001493152-26-053834-index.htm",
      "quantisnowUrl": "https://www.quantisnow.com/insight/sec-form-10-q-filed-by-surgepays-inc-6804422",
      "score": null,
      "highlights": [
        "<em>doubt</em> about the Company's ability to continue as a <em>going concern</em> within one year after the date these consolidated financial statements are issued. 9 | Management has evaluated the significance of these conditions and has",
        "developed plans intended to mitigate the <em>substantial doubt</em>.",
        "Accordingly, management has concluded that its plans do not alleviate the <em>substantial doubt</em> about the Company's ability to continue as a <em>going concern</em>."
      ]
    },
    {
      "id": "0001477932-26-007251",
      "kind": "filing",
      "source": "SEC",
      "accessionNo": "0001477932-26-007251",
      "formType": "10-Q",
      "filedAt": "2026-11-23T17:27:21-05:00",
      "cik": "0001425627",
      "companyName": "SOBR Safe Inc.",
      "ticker": "SOBR",
      "tickers": [
        "SOBR"
      ],
      "items": [],
      "description": "SEC Form 10-Q filed by SOBR Safe Inc.",
      "linkToFilingIndex": "https://www.sec.gov/Archives/edgar/data/1425627/000147793226007251/0001477932-26-007251-index.htm",
      "quantisnowUrl": "https://www.quantisnow.com/insight/sec-form-10-q-filed-by-sobr-safe-inc-6804398",
      "score": null,
      "highlights": [
        "Accordingly, <em>substantial doubt</em> about the Company's ability to continue as a <em>going concern</em> has not been alleviated as of the date these financial statements are issued. 15 Table of Contents NOTE 3.",
        "Our current cash is not sufficient to fund our operations for the twelve months following the issuance of our financial statements, and there is <em>substantial doubt</em> about our ability to continue as a <em>going concern</em>.",
        "These conditions raise <em>substantial doubt</em> about the Company's ability to continue as a <em>going concern</em> for the twelve months following the date these financial statements are issued."
      ]
    }
  ]
}
684 10-Qs contain both "substantial doubt" and "going concern". The most recent: - SurgePays Inc. (SURG), filed Nov 23, 2026 - SOBR Safe Inc. (SOBR), filed Nov 23, 2026 - Local Bounti Corporation (LOCL), filed Nov 23, 2026 Some of these say the doubt has been resolved; the matching passages show which.

A full-text search for the two phrases auditors and managements use, limited to quarterly reports.

From Python

python
import json, os, requests

URL = "https://www.quantisnow.com/api/v1/mcp"
HEADERS = {
    "Authorization": f"Bearer {os.environ['QUANTISNOW_API_KEY']}",
    "Accept": "application/json, text/event-stream",
}

def call(tool, **arguments):
    body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
            "params": {"name": tool, "arguments": arguments}}
    res = requests.post(URL, headers=HEADERS, json=body).json()["result"]
    text = res["content"][0]["text"]
    if res.get("isError"):
        raise RuntimeError(text)
    return json.loads(text)

page = call("search", dataset="insider-trades",
            query="formType:4 AND transactionCodes:P AND purchased.valueUsd:>1000000",
            sort="purchased.valueUsd:desc", size=5)
print(page["total"])

From the MCP TypeScript SDK

javascript
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(new URL("https://www.quantisnow.com/api/v1/mcp"), {
  requestInit: { headers: { Authorization: `Bearer ${process.env.QUANTISNOW_API_KEY}` } },
});
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);

const { tools } = await client.listTools();
const res = await client.callTool({
  name: "search",
  arguments: { dataset: "13f/holdings", query: "issuer.ticker:NVDA AND change:new", sort: "valueUsd:desc", size: 5 },
});
console.log(tools.map((t) => t.name), res.content[0].text);

OAuth, for agents that sign users in

A request with no credentials gets 401 and a WWW-Authenticate header whose resource_metadata points at https://www.quantisnow.com/.well-known/oauth-protected-resource/api/v1/mcp. That document names our authorization server, which supports dynamic client registration at /api/oauth/register and the authorization code flow with PKCE, as the MCP authorization spec describes. MCP SDKs that implement the spec handle all of it; send the access token as Authorization: Bearer on each request, as you would a key.

Each account that signs in gets the free calls too, and its calls count against its own plan.

Other clients: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, ChatGPT, Claude.ai, Codex CLI, Gemini CLI, Cline, Continue, JetBrains AI Assistant, Goose, LibreChat.

Run your own queries with a key

Sign up, press one button on the keys page and the key is on your screen, with 20 free calls to try it.

Quantisnow is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR is the SEC's filing system; the filings themselves are public records.