SEC API docs ▾

MCP server

Add the SEC MCP server to JetBrains AI Assistant

AI Assistant in JetBrains IDEs can start MCP servers and use their tools in chat.

Add the server

shell
npx quantisnow login
  • Open Settings, then Tools, AI Assistant, Model Context Protocol (MCP).
  • Press Add, and choose to enter the configuration as JSON.
  • Paste the block below and press OK, then Apply.
json
{
  "mcpServers": {
    "quantisnow": {
      "command": "npx",
      "args": ["-y", "quantisnow", "mcp"]
    }
  }
}

npx -y quantisnow mcp is a small local bridge from the quantisnow CLI. It forwards every request to https://www.quantisnow.com/api/v1/mcp and signs in with your npx quantisnow login, so run that once first. To use an API key instead, set QUANTISNOW_API_KEY in the server's env. New accounts get 20 free calls to try every endpoint, the MCP server and the CLI. After that, plans start at $49 a month for 30,000 calls.

Check it connected

The server shows in the MCP list with its status. In the AI Assistant chat, ask a question that needs SEC data and it calls the quantisnow tools.

Check it works

Ask this, word for word:

shell
Use quantisnow to list what Nvidia filed with the SEC in the last 90 days.

You should see a tool call to search with "dataset": "filings" and a query like ticker:NVDA AND filedAt:[...], then a list of filings: form type (8-K, 10-Q, Form 4), date, and a sec.gov link for each. If the assistant answers from memory with no tool call, the server isn't switched on for this chat. If the tool call returns an error, the troubleshooting page goes through each one.

Things to ask

  • Write a Kotlin data class for the Form 4 records quantisnow returns, from a real example
  • Which insiders filed to sell more than $10 million of stock this month?
Which insiders bought more than $1 million of their own stock in the last 30 days?
tool call · search
{
  "name": "search",
  "arguments": {
    "dataset": "insider-trades",
    "query": "formType:4 AND transactionCodes:P AND purchased.valueUsd:>1000000 AND filedAt:[2026-10-25 TO 2026-11-24]",
    "size": 5,
    "sort": "purchased.valueUsd:desc"
  }
}
tool result · first 2 records
{
  "total": {
    "value": 134,
    "relation": "eq"
  },
  "data": [
    {
      "id": "0001011438-26-000643:0001307631",
      "accessionNo": "0001011438-26-000643",
      "formType": "4",
      "amendment": false,
      "restatesEarlier": false,
      "filedAt": "2026-11-03T16:35:59-05:00",
      "transactionDate": "2026-11-02",
      "issuer": {
        "cik": "0000789570",
        "name": "MGM Resorts International",
        "ticker": "MGM"
      },
      "reportingOwner": {
        "cik": "0001307631",
        "name": "Meister Keith A.",
        "officerTitle": null,
        "isDirector": true,
        "isOfficer": false,
        "isTenPercentOwner": false
      },
      "transactionCodes": [
        "P"
      ],
      "purchased": {
        "shares": 1745592,
        "valueUsd": 51740827.48
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": null,
      "rule10b51": false,
      "linkToFilingIndex": "https://www.sec.gov/Archives/edgar/data/789570/000101143826000643/0001011438-26-000643-index.htm"
    },
    {
      "id": "0001104659-26-121503:0001820515",
      "accessionNo": "0001104659-26-121503",
      "formType": "4/A",
      "amendment": true,
      "restatesEarlier": false,
      "filedAt": "2026-11-02T17:47:09-05:00",
      "transactionDate": "2026-10-29",
      "issuer": {
        "cik": "0000084839",
        "name": "Rollins Inc",
        "ticker": "ROL"
      },
      "reportingOwner": {
        "cik": "0001820515",
        "name": "R. Randall Rollins Voting Trust U/A dated August 25, 1994",
        "officerTitle": null,
        "isDirector": false,
        "isOfficer": false,
        "isTenPercentOwner": true
      },
      "transactionCodes": [
        "P"
      ],
      "purchased": {
        "shares": 1444402,
        "valueUsd": 49956665.33
      },
      "sold": {
        "shares": 0,
        "valueUsd": 0
      },
      "sharesOwnedAfter": null,
      "rule10b51": false,
      "linkToFilingIndex": "https://www.sec.gov/Archives/edgar/data/84839/000110465926121503/0001104659-26-121503-index.htm"
    }
  ]
}
134 Form 4 filings in the last 30 days show open-market purchases over $1 million. The largest three: - Keith A. Meister (director) bought $51.7M of MGM Resorts International (MGM), filed Nov 3, 2026. - R. Randall Rollins Voting Trust U/A dated August 25, 1994 (10% owner) bought $50.0M of Rollins Inc (ROL), filed Nov 2, 2026. - Lor Inc (10% owner) bought $50.0M of Rollins Inc (ROL), filed Nov 2, 2026.

The assistant picks the insider dataset, filters on open-market purchases (code P) and sorts by dollar value.

Other clients: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, ChatGPT, Claude.ai, Codex CLI, Gemini CLI, Cline, Continue, Goose, LibreChat, Raw JSON-RPC.

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.