@cyanheads/secedgar-mcp-server 0.20.1 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/AGENTS.md +33 -26
  2. package/CLAUDE.md +33 -26
  3. package/README.md +23 -12
  4. package/changelog/0.21.x/0.21.0.md +35 -0
  5. package/changelog/0.21.x/0.21.1.md +29 -0
  6. package/dist/mcp-server/prompts/definitions/company-analysis.prompt.js +3 -3
  7. package/dist/mcp-server/prompts/definitions/company-analysis.prompt.js.map +1 -1
  8. package/dist/mcp-server/tools/annual-report-reads.d.ts +53 -0
  9. package/dist/mcp-server/tools/annual-report-reads.d.ts.map +1 -0
  10. package/dist/mcp-server/tools/annual-report-reads.js +145 -0
  11. package/dist/mcp-server/tools/annual-report-reads.js.map +1 -0
  12. package/dist/mcp-server/tools/blockquote.d.ts +13 -0
  13. package/dist/mcp-server/tools/blockquote.d.ts.map +1 -0
  14. package/dist/mcp-server/tools/blockquote.js +18 -0
  15. package/dist/mcp-server/tools/blockquote.js.map +1 -0
  16. package/dist/mcp-server/tools/calendar-quarter.d.ts +22 -0
  17. package/dist/mcp-server/tools/calendar-quarter.d.ts.map +1 -0
  18. package/dist/mcp-server/tools/calendar-quarter.js +34 -0
  19. package/dist/mcp-server/tools/calendar-quarter.js.map +1 -0
  20. package/dist/mcp-server/tools/definitions/company-search.tool.d.ts.map +1 -1
  21. package/dist/mcp-server/tools/definitions/company-search.tool.js +10 -21
  22. package/dist/mcp-server/tools/definitions/company-search.tool.js.map +1 -1
  23. package/dist/mcp-server/tools/definitions/compare-companies.tool.d.ts +12 -2
  24. package/dist/mcp-server/tools/definitions/compare-companies.tool.d.ts.map +1 -1
  25. package/dist/mcp-server/tools/definitions/compare-companies.tool.js +120 -29
  26. package/dist/mcp-server/tools/definitions/compare-companies.tool.js.map +1 -1
  27. package/dist/mcp-server/tools/definitions/find-holders.tool.d.ts.map +1 -1
  28. package/dist/mcp-server/tools/definitions/find-holders.tool.js +9 -16
  29. package/dist/mcp-server/tools/definitions/find-holders.tool.js.map +1 -1
  30. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.d.ts +31 -9
  31. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.d.ts.map +1 -1
  32. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js +268 -88
  33. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js.map +1 -1
  34. package/dist/mcp-server/tools/definitions/get-filing.tool.d.ts +10 -0
  35. package/dist/mcp-server/tools/definitions/get-filing.tool.d.ts.map +1 -1
  36. package/dist/mcp-server/tools/definitions/get-filing.tool.js +164 -10
  37. package/dist/mcp-server/tools/definitions/get-filing.tool.js.map +1 -1
  38. package/dist/mcp-server/tools/definitions/get-financials.tool.d.ts +1 -0
  39. package/dist/mcp-server/tools/definitions/get-financials.tool.d.ts.map +1 -1
  40. package/dist/mcp-server/tools/definitions/get-financials.tool.js +219 -128
  41. package/dist/mcp-server/tools/definitions/get-financials.tool.js.map +1 -1
  42. package/dist/mcp-server/tools/definitions/get-fund-holdings.tool.d.ts.map +1 -1
  43. package/dist/mcp-server/tools/definitions/get-fund-holdings.tool.js +2 -3
  44. package/dist/mcp-server/tools/definitions/get-fund-holdings.tool.js.map +1 -1
  45. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.d.ts +44 -0
  46. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.d.ts.map +1 -1
  47. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.js +336 -75
  48. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.js.map +1 -1
  49. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts +12 -0
  50. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts.map +1 -1
  51. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js +16 -31
  52. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js.map +1 -1
  53. package/dist/mcp-server/tools/definitions/get-material-events.tool.d.ts +15 -0
  54. package/dist/mcp-server/tools/definitions/get-material-events.tool.d.ts.map +1 -1
  55. package/dist/mcp-server/tools/definitions/get-material-events.tool.js +107 -54
  56. package/dist/mcp-server/tools/definitions/get-material-events.tool.js.map +1 -1
  57. package/dist/mcp-server/tools/definitions/get-snapshot.tool.d.ts +5 -0
  58. package/dist/mcp-server/tools/definitions/get-snapshot.tool.d.ts.map +1 -1
  59. package/dist/mcp-server/tools/definitions/get-snapshot.tool.js +48 -17
  60. package/dist/mcp-server/tools/definitions/get-snapshot.tool.js.map +1 -1
  61. package/dist/mcp-server/tools/definitions/index.d.ts +526 -464
  62. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  63. package/dist/mcp-server/tools/definitions/search-concepts.tool.js +1 -1
  64. package/dist/mcp-server/tools/definitions/search-filings.tool.d.ts +16 -0
  65. package/dist/mcp-server/tools/definitions/search-filings.tool.d.ts.map +1 -1
  66. package/dist/mcp-server/tools/definitions/search-filings.tool.js +194 -70
  67. package/dist/mcp-server/tools/definitions/search-filings.tool.js.map +1 -1
  68. package/dist/mcp-server/tools/filing-dates.d.ts +48 -0
  69. package/dist/mcp-server/tools/filing-dates.d.ts.map +1 -0
  70. package/dist/mcp-server/tools/filing-dates.js +99 -0
  71. package/dist/mcp-server/tools/filing-dates.js.map +1 -0
  72. package/dist/mcp-server/tools/limit-clamp.d.ts.map +1 -1
  73. package/dist/mcp-server/tools/limit-clamp.js +6 -2
  74. package/dist/mcp-server/tools/limit-clamp.js.map +1 -1
  75. package/dist/services/edgar/body-text-decoder.d.ts +33 -0
  76. package/dist/services/edgar/body-text-decoder.d.ts.map +1 -0
  77. package/dist/services/edgar/body-text-decoder.js +103 -0
  78. package/dist/services/edgar/body-text-decoder.js.map +1 -0
  79. package/dist/services/edgar/call-scope.d.ts +9 -0
  80. package/dist/services/edgar/call-scope.d.ts.map +1 -1
  81. package/dist/services/edgar/call-scope.js +3 -0
  82. package/dist/services/edgar/call-scope.js.map +1 -1
  83. package/dist/services/edgar/concept-map.d.ts.map +1 -1
  84. package/dist/services/edgar/concept-map.js +70 -12
  85. package/dist/services/edgar/concept-map.js.map +1 -1
  86. package/dist/services/edgar/concept-series.d.ts +126 -9
  87. package/dist/services/edgar/concept-series.d.ts.map +1 -1
  88. package/dist/services/edgar/concept-series.js +217 -21
  89. package/dist/services/edgar/concept-series.js.map +1 -1
  90. package/dist/services/edgar/edgar-api-service.d.ts +31 -15
  91. package/dist/services/edgar/edgar-api-service.d.ts.map +1 -1
  92. package/dist/services/edgar/edgar-api-service.js +182 -36
  93. package/dist/services/edgar/edgar-api-service.js.map +1 -1
  94. package/dist/services/edgar/eight-k-items.d.ts +19 -1
  95. package/dist/services/edgar/eight-k-items.d.ts.map +1 -1
  96. package/dist/services/edgar/eight-k-items.js +24 -1
  97. package/dist/services/edgar/eight-k-items.js.map +1 -1
  98. package/dist/services/edgar/filing-headers.d.ts +22 -10
  99. package/dist/services/edgar/filing-headers.d.ts.map +1 -1
  100. package/dist/services/edgar/filing-headers.js +98 -15
  101. package/dist/services/edgar/filing-headers.js.map +1 -1
  102. package/dist/services/edgar/filing-to-text.d.ts +13 -6
  103. package/dist/services/edgar/filing-to-text.d.ts.map +1 -1
  104. package/dist/services/edgar/filing-to-text.js +23 -3
  105. package/dist/services/edgar/filing-to-text.js.map +1 -1
  106. package/dist/services/edgar/fiscal-periods.d.ts +14 -1
  107. package/dist/services/edgar/fiscal-periods.d.ts.map +1 -1
  108. package/dist/services/edgar/fiscal-periods.js +47 -18
  109. package/dist/services/edgar/fiscal-periods.js.map +1 -1
  110. package/dist/services/edgar/form4-amendments.d.ts +63 -0
  111. package/dist/services/edgar/form4-amendments.d.ts.map +1 -0
  112. package/dist/services/edgar/form4-amendments.js +99 -0
  113. package/dist/services/edgar/form4-amendments.js.map +1 -0
  114. package/dist/services/edgar/mirror/companyfacts-sync.d.ts +6 -1
  115. package/dist/services/edgar/mirror/companyfacts-sync.d.ts.map +1 -1
  116. package/dist/services/edgar/mirror/companyfacts-sync.js +29 -6
  117. package/dist/services/edgar/mirror/companyfacts-sync.js.map +1 -1
  118. package/dist/services/edgar/ownership-parser.d.ts +24 -0
  119. package/dist/services/edgar/ownership-parser.d.ts.map +1 -1
  120. package/dist/services/edgar/ownership-parser.js +82 -0
  121. package/dist/services/edgar/ownership-parser.js.map +1 -1
  122. package/dist/services/edgar/types.d.ts +5 -1
  123. package/dist/services/edgar/types.d.ts.map +1 -1
  124. package/package.json +3 -3
  125. package/server.json +3 -3
  126. package/skills/secedgar-guide/SKILL.md +11 -7
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/edgar/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,8DAA8D;AAC9D,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,4HAA4H;IAC5H,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6HAA6H;IAC7H,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qEAAqE;AACrE,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,2HAA2H;IAC3H,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC,OAAO,EAAE;QACP,MAAM,EAAE,aAAa,CAAC;QACtB,KAAK,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAC3F,CAAC;IACF,oFAAoF;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AAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,sDAAsD;AACtD,MAAM,MAAM,YAAY,GACpB,kBAAkB,GAClB,eAAe,GACf,WAAW,GACX,WAAW,GACX,aAAa,CAAC;AAElB,0CAA0C;AAC1C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,KAAK,CAAC;AAE9D,wFAAwF;AACxF,MAAM,WAAW,UAAU;IACzB,+FAA+F;IAC/F,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;AAEnD,qCAAqC;AACrC,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,KAAK,EAAE,YAAY,CAAC;IACpB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/secedgar-mcp-server",
3
- "version": "0.20.1",
3
+ "version": "0.21.1",
4
4
  "description": "Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.",
5
5
  "mcpName": "io.github.cyanheads/secedgar-mcp-server",
6
6
  "type": "module",
@@ -102,7 +102,7 @@
102
102
  "@duckdb/node-api": "^2.0.1-r.1",
103
103
  "better-sqlite3": "^13.2.0",
104
104
  "domhandler": "^6.0.1",
105
- "domutils": "^4.0.2",
105
+ "domutils": "^4.1.2",
106
106
  "fflate": "^0.8.3",
107
107
  "html-to-text": "^10.0.1",
108
108
  "htmlparser2": "^12.0.0",
@@ -111,7 +111,7 @@
111
111
  "zod": "^4.6.7"
112
112
  },
113
113
  "devDependencies": {
114
- "@biomejs/biome": "^2.6.9",
114
+ "@biomejs/biome": "^2.6.10",
115
115
  "@socketsecurity/bun-security-scanner": "^1.1.3",
116
116
  "@types/html-to-text": "^9.0.4",
117
117
  "@types/node": "^26.6.11",
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/cyanheads/secedgar-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.20.1",
9
+ "version": "0.21.1",
10
10
  "remotes": [
11
11
  {
12
12
  "type": "streamable-http",
@@ -19,7 +19,7 @@
19
19
  "registryBaseUrl": "https://registry.npmjs.org",
20
20
  "identifier": "@cyanheads/secedgar-mcp-server",
21
21
  "runtimeHint": "npx",
22
- "version": "0.20.1",
22
+ "version": "0.21.1",
23
23
  "environmentVariables": [
24
24
  {
25
25
  "name": "EDGAR_USER_AGENT",
@@ -51,7 +51,7 @@
51
51
  "registryBaseUrl": "https://registry.npmjs.org",
52
52
  "identifier": "@cyanheads/secedgar-mcp-server",
53
53
  "runtimeHint": "npx",
54
- "version": "0.20.1",
54
+ "version": "0.21.1",
55
55
  "environmentVariables": [
56
56
  {
57
57
  "name": "EDGAR_USER_AGENT",
@@ -4,7 +4,7 @@ description: Route SEC EDGAR research across the secedgar_* tools — which owne
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: cyanheads
7
- version: "1.1"
7
+ version: "1.3"
8
8
  ---
9
9
 
10
10
  ## Scope
@@ -24,7 +24,7 @@ Not here: market prices, quotes, or returns (the only prices are the per-share p
24
24
  | Filer CIK | rows of secedgar_find_holders | secedgar_get_institutional_holdings, with the same quarter |
25
25
  | CUSIP (9 characters, one per share class) | positions returned by secedgar_get_institutional_holdings or secedgar_get_fund_holdings; no tool maps a ticker to a CUSIP | secedgar_find_holders, or a quoted term in secedgar_search_filings |
26
26
  | Fund series ID (`S` plus 9 digits) | secedgar_company_search on a fund ticker, the `series_required` error, or the header of an NPORT-P report | secedgar_get_fund_holdings |
27
- | 8-K item code (`2.02`; legacy `12`) | the `secedgar://filing-types` resource | secedgar_get_material_events |
27
+ | 8-K item code (`2.02`; legacy `12`) | the `secedgar://filing-types` resource | secedgar_get_material_events. secedgar_search_filings decodes the items on each 8-K row across companies, so a cross-company item screen filters its dataframe on `item_codes` |
28
28
  | `df_<id>` | the `dataset` handle on a data tool's response | secedgar_dataframe_describe, then secedgar_dataframe_query |
29
29
 
30
30
  ## Gates
@@ -32,22 +32,25 @@ Not here: market prices, quotes, or returns (the only prices are the per-share p
32
32
  ### Before reporting something absent
33
33
 
34
34
  - **XBRL tagging phased in from 2009.** Earlier years appear only as comparatives restated in later filings, so they are sparse. No financial facts for a year means the year was never tagged, not that the company did not report the line. Read the 10-K or 10-Q text instead.
35
- - **Foreign private issuers file 20-F or 40-F**, where a domestic company files 10-K, and many report under `ifrs-full`. Check those forms before saying no annual report exists, and on `no_concept_data` retry with the taxonomy its hint names. secedgar_fetch_frames holds no IFRS filers at all, so a cross-company screen silently leaves them out.
35
+ - **Foreign private issuers file 20-F or 40-F**, where a domestic company files 10-K, and many report under `ifrs-full`. They file 6-K where a domestic company files 8-K: a secedgar_get_material_events result with no 8-K counts the 6-Ks it read and names the secedgar_search_filings call that lists them. Check those forms before saying no annual report exists, and on `no_concept_data` retry with the taxonomy its hint names. secedgar_get_snapshot and secedgar_compare_companies name it as `retry_taxonomy` on a gap, and a caveat names the later taxonomy when the filer's statements run further there. Compare IFRS and us-gaap filers in separate calls, since `taxonomy` applies to every company in one call. Under `ifrs-full`, a caveat can also name an annual report whose statement facts SEC's XBRL data lacks, so the newest values come from earlier filings: read that report with secedgar_get_filing. secedgar_fetch_frames holds no IFRS filers at all, so a cross-company screen silently leaves them out.
36
36
  - **A secedgar_fetch_frames `no_data` covers one tag.** A friendly name maps to several tags and one call reads the first; revenue's current tag has no annual frame before CY2014. Query each tag the error lists in `unqueried_tags` before calling a period empty.
37
37
  - **Structured coverage has start dates.** Form 4 XML starts in mid-2003. SCHEDULE 13D/13G XML starts 2024-12-18; earlier stakes are legacy `SC 13D` / `SC 13G` text filings, so a forms filter spanning that date must list both spellings.
38
38
  - **Ownership filings lag their period.** A 13F-HR is due 45 days after its quarter ends, so a quarter still inside that window holds only the managers that filed early. An NPORT-P publishes about two months after its period. Managers under $100M in 13(f) securities file no 13F, and a 13F-NT means another manager reported the holdings.
39
39
  - **Without a quarter, secedgar_get_institutional_holdings reads only the recent submissions window**: the filer's last year or 1,000 filings, whichever holds more. Name the quarter for a manager whose latest 13F-HR is older.
40
- - **Fiscal Q4 is not a quarterly fact.** A quarterly series skips the calendar quarter a filer's fiscal Q4 spans. Derive that quarter as the annual total minus the three reported quarters, as the caveat says, instead of reporting it missing.
40
+ - **Fiscal Q4 is not a quarterly fact.** A quarterly series skips the calendar quarter a filer's fiscal Q4 spans. Derive that quarter as the annual total minus the three reported quarters, as the caveat says, instead of reporting it missing. For a concept with one framed quarter a year (most 10-Q cash-flow lines), read it with `period_type: "ytd"` and subtract: Q2 = H1 − Q1, Q3 = 9M − H1, Q4 = FY − 9M, joining on `start` (`period_start` in dataframes). A YTD row's fiscal keys name its latest filing.
41
41
 
42
42
  ### Before stating a number
43
43
 
44
44
  - **Label each value by its period end, never by `fiscal_year`.** On secedgar_get_financials rows, `fiscal_year` and `fiscal_period` (`source_filing_fy` / `source_filing_fp` in the dataframe) belong to the filing that reported the value, and a restated comparative carries the later filing's year. Key time on `end` (`period_end` in the dataframe). That dataframe also names `company` as `entity_name` and `start` as `period_start`.
45
45
  - **A `CY` key is SEC's calendar frame, not a fiscal-year label.** One column of secedgar_compare_companies holds fiscal years that end on different dates. Name each company's fiscal year from the cell's `period_end`.
46
- - **Derived metrics are not concepts.** Free cash flow is `operating_cash_flow` − `capex`, EBITDA is `operating_income` + `depreciation_amortization`, and working capital is `current_assets` − `current_liabilities`. `debt` is long-term debt only, and no concept gives total debt.
46
+ - **Derived metrics are not concepts.** Free cash flow is `operating_cash_flow` − `capex`, EBITDA is `operating_income` + `depreciation_amortization`, and working capital is `current_assets` − `current_liabilities`. `debt` is long-term debt excluding current maturities, and no concept gives total debt; a bank's or other filer's total-only line is `LongTermDebt`, passed as a raw tag.
47
+ - **An amendment can supersede the figure.** Before quoting from a 10-K, 10-Q, or 20-F, check the `later_filings` secedgar_get_filing lists: the `/A` filings for that period, or the `/A` or `RW` of a registration statement, found in the filer's recent submissions; past that window a registration statement is matched on the `333-` number in its SEC header, unread when the filer has none. An absent `later_filings` is not proof of none: read the notice for what was not looked for.
47
48
  - **Search totals are lower bounds** unless `total_is_exact` is true. Full-text search stops at 10,000 hits, so count a large set by splitting the date range.
48
49
  - **Check whether a dataframe is complete** before presenting an aggregate as the whole population: secedgar_dataframe_describe reports `truncated`. secedgar_find_holders reads at most 500 13F filings, and secedgar_get_insider_transactions parses at most 100 Form 4 filings.
49
50
  - **Insider "sale" and "purchase" are open-market trades only** (codes S and P). Tax withholding (F), gifts (G), awards, and exercises appear only under `all`; total every disposal with `direction`. The date bounds filter filing dates, and a Form 4 is filed after its trade, so filter on `transaction_date` for when trades happened and let the window run past the period end.
50
- - **Forms filters differ between tools.** secedgar_company_search matches forms exactly, so `10-K` leaves out `10-K/A`. secedgar_search_filings's `10-K` also returns `10-K/A`. Check a row's form before reading it as the annual report.
51
+ - **Insider rows report a trade once.** A joint filing is one row per transaction, with the other owners in `joint_filers`. A row a Form 4/A restates carries `amended_by`, so total with `amended_by IS NULL`, and check the 4/A pairs the notice flags, which it leaves unmarked.
52
+ - **Rule 10b5-1 plans.** `rule10b5_1` is the filing's `aff10b5One` box, one value for every row of the filing, tax-withholding rows included. The box exists from April 2023 filings; earlier schemas carry none, yet their footnotes can still state a plan. A `false` box does not rule out a plan, since a sale can cite a footnote saying it was made under one, so read each row's `footnotes`: plan adoption dates live in that prose. Footnotes cited only by holding entries are not returned.
53
+ - **Forms filters differ between tools.** secedgar_company_search matches forms exactly, so `10-K` leaves out `10-K/A`. secedgar_search_filings's `10-K` also returns `10-K/A`, and listing `10-K/A` beside `10-K` (as secedgar_company_search tells callers) loses neither. A list pairing base forms with another form's amendment (`["10-K", "8-K/A"]`) runs as two searches, base forms and amendments, and pages only within the first window of each; to page deeper, search one group per call. Check a row's form before reading it as the annual report.
51
54
 
52
55
  ## Workflows
53
56
 
@@ -58,6 +61,7 @@ Not here: market prices, quotes, or returns (the only prices are the per-share p
58
61
  | What did officers, directors, or 10% owners trade? | secedgar_get_insider_transactions, the issuer | Form 4 and 4-A. Forms 3 and 5 only through secedgar_search_filings plus secedgar_get_filing |
59
62
  | What did one person or fund trade as an insider, across companies? | secedgar_get_insider_transactions with `role` `reporting_owner`, the filer's CIK | A person resolves only by CIK. Each row names its issuer; the default role reads a company's own insiders |
60
63
  | Who holds 5% or more, and with what intent? | secedgar_get_beneficial_owners, the issuer | A 13D states a purpose; a 13G is passive and has none. Percent of class is per reporting person and never sums across a joint filing |
64
+ | What 5% stakes has one holder filed? | secedgar_get_beneficial_owners with `role: "filer"`, the holder's CIK | Each filing names its subject. Either role takes `filed_after` / `filed_before` and `offset`; a truncated result names the `filed_before` and `offset` that continue it, with the other arguments unchanged. A co-reporting person on another filer's cover page is found by secedgar_search_filings on its quoted 10-digit CIK |
61
65
  | Which institutional managers hold it? | secedgar_find_holders, the issuer and its CUSIP | Unranked; open a position with secedgar_get_institutional_holdings and the filer CIK for size |
62
66
  | What does one manager hold? | secedgar_get_institutional_holdings, the manager | Never the issuer: an operating company files no 13F |
63
67
  | What does one fund hold? | secedgar_get_fund_holdings, the fund ticker or series ID | One series per report; a multi-fund trust needs the series |
@@ -79,4 +83,4 @@ Not here: market prices, quotes, or returns (the only prices are the per-share p
79
83
 
80
84
  ### Dataframes
81
85
 
82
- Data tools stage their full result as a `df_<id>` table, named by the response's `dataset` handle, on one canvas that every secedgar_* call shares. Call secedgar_dataframe_describe with the `dataset` name the producing tool returned to get the table's column names before writing SQL, then secedgar_dataframe_query with one read-only SELECT. Describe without a name lists the active tables, except over HTTP with auth none, where every caller shares one canvas and that listing is refused. Tables from different tools join where they share a key: 13F positions, NPORT-P positions, and blockholder rows on `cusip`; insider and blockholder rows on `issuer_cik`. Insider rows carry no `cusip` and 13F rows no `issuer_cik`. Under `role` `reporting_owner`, an insider row's `issuer_cik` is its own filing's issuer, so that join reads across companies. A table expires a fixed time after it is staged (a day by default), and queries do not extend it; `missing_table` means the name is wrong or the table expired: check it against the `dataset` name, and run the source tool again for an expired one. A deployment without a canvas, such as the MCPB bundle, returns results inline only.
86
+ Data tools stage their full result as a `df_<id>` table, named by the response's `dataset` handle, on one canvas that every secedgar_* call shares. Call secedgar_dataframe_describe with the `dataset` name the producing tool returned to get the table's column names before writing SQL, then secedgar_dataframe_query with one read-only SELECT. Describe without a name lists the active tables, except over HTTP with auth none, where every caller shares one canvas and that listing is refused. Tables from different tools join where they share a key: 13F positions, NPORT-P positions, and blockholder rows on `cusip`; insider and blockholder rows on `issuer_cik`. Insider rows carry no `cusip` and 13F rows no `issuer_cik`. Under `role` `reporting_owner`, an insider row's `issuer_cik` is its own filing's issuer, so that join reads across companies; under `role` `filer`, a blockholder row's `issuer_cik` is its schedule's subject. A table expires a fixed time after it is staged (a day by default), and queries do not extend it; `missing_table` means the name is wrong or the table expired: check it against the `dataset` name, and run the source tool again for an expired one. A deployment without a canvas, such as the MCPB bundle, returns results inline only.