sec_stats
Retrieve SEC filing statistics including total filings, form type breakdowns, date ranges, and update timestamps from the Verilex Data MCP server.
Instructions
Get statistics about the SEC filings dataset: total filings, form type breakdown, date range, and last updated timestamp. Free endpoint, no payment required.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/sec.ts:202-232 (handler)The registration and handler implementation for the "sec_stats" tool.
server.registerTool( "sec_stats", { title: "SEC Dataset Statistics", description: "Get statistics about the SEC filings dataset: total filings, form type breakdown, " + "date range, and last updated timestamp. Free endpoint, no payment required.", inputSchema: {}, }, async () => { const res = await apiGet<SecStatsResponse>("/api/v1/sec/stats"); if (!res.ok) { return { content: [ { type: "text" as const, text: `API error (${res.status}): ${JSON.stringify(res.data)}`, }, ], isError: true, }; } return { content: [ { type: "text" as const, text: JSON.stringify(res.data, null, 2) }, ], }; }, ); - src/tools/sec.ts:31-36 (schema)Schema/Interface for the "sec_stats" response.
interface SecStatsResponse { dataset: string; source: string; update_frequency: string; stats: Record<string, unknown>; }