@cyanheads/secedgar-mcp-server 0.15.7 → 0.15.8

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 (61) hide show
  1. package/AGENTS.md +18 -10
  2. package/CLAUDE.md +18 -10
  3. package/README.md +112 -162
  4. package/changelog/0.15.x/0.15.8.md +29 -0
  5. package/dist/config/server-config.d.ts.map +1 -1
  6. package/dist/config/server-config.js +1 -1
  7. package/dist/config/server-config.js.map +1 -1
  8. package/dist/mcp-server/tools/definitions/company-search.tool.d.ts.map +1 -1
  9. package/dist/mcp-server/tools/definitions/company-search.tool.js +15 -26
  10. package/dist/mcp-server/tools/definitions/company-search.tool.js.map +1 -1
  11. package/dist/mcp-server/tools/definitions/dataframe-query.tool.d.ts.map +1 -1
  12. package/dist/mcp-server/tools/definitions/dataframe-query.tool.js +7 -1
  13. package/dist/mcp-server/tools/definitions/dataframe-query.tool.js.map +1 -1
  14. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js +1 -1
  15. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js.map +1 -1
  16. package/dist/mcp-server/tools/definitions/get-filing.tool.d.ts.map +1 -1
  17. package/dist/mcp-server/tools/definitions/get-filing.tool.js +16 -11
  18. package/dist/mcp-server/tools/definitions/get-filing.tool.js.map +1 -1
  19. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.d.ts +5 -2
  20. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.d.ts.map +1 -1
  21. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.js +151 -28
  22. package/dist/mcp-server/tools/definitions/get-insider-transactions.tool.js.map +1 -1
  23. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts +1 -1
  24. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts.map +1 -1
  25. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js +89 -41
  26. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js.map +1 -1
  27. package/dist/mcp-server/tools/definitions/get-material-events.tool.d.ts.map +1 -1
  28. package/dist/mcp-server/tools/definitions/get-material-events.tool.js +29 -33
  29. package/dist/mcp-server/tools/definitions/get-material-events.tool.js.map +1 -1
  30. package/dist/mcp-server/tools/definitions/index.d.ts +6 -3
  31. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  32. package/dist/mcp-server/tools/definitions/search-filings.tool.d.ts.map +1 -1
  33. package/dist/mcp-server/tools/definitions/search-filings.tool.js +12 -20
  34. package/dist/mcp-server/tools/definitions/search-filings.tool.js.map +1 -1
  35. package/dist/services/edgar/edgar-api-service.d.ts +53 -41
  36. package/dist/services/edgar/edgar-api-service.d.ts.map +1 -1
  37. package/dist/services/edgar/edgar-api-service.js +213 -144
  38. package/dist/services/edgar/edgar-api-service.js.map +1 -1
  39. package/dist/services/edgar/filing-headers.d.ts +37 -9
  40. package/dist/services/edgar/filing-headers.d.ts.map +1 -1
  41. package/dist/services/edgar/filing-headers.js +40 -11
  42. package/dist/services/edgar/filing-headers.js.map +1 -1
  43. package/dist/services/edgar/filing-to-text.d.ts.map +1 -1
  44. package/dist/services/edgar/filing-to-text.js +24 -2
  45. package/dist/services/edgar/filing-to-text.js.map +1 -1
  46. package/dist/services/edgar/mirror/tickers-sync.d.ts +4 -2
  47. package/dist/services/edgar/mirror/tickers-sync.d.ts.map +1 -1
  48. package/dist/services/edgar/mirror/tickers-sync.js +4 -2
  49. package/dist/services/edgar/mirror/tickers-sync.js.map +1 -1
  50. package/dist/services/edgar/mirror/types.d.ts +6 -2
  51. package/dist/services/edgar/mirror/types.d.ts.map +1 -1
  52. package/dist/services/edgar/ownership-parser.d.ts +16 -0
  53. package/dist/services/edgar/ownership-parser.d.ts.map +1 -1
  54. package/dist/services/edgar/ownership-parser.js +19 -0
  55. package/dist/services/edgar/ownership-parser.js.map +1 -1
  56. package/dist/services/edgar/submissions-archive.d.ts +78 -0
  57. package/dist/services/edgar/submissions-archive.d.ts.map +1 -0
  58. package/dist/services/edgar/submissions-archive.js +87 -0
  59. package/dist/services/edgar/submissions-archive.js.map +1 -0
  60. package/package.json +1 -1
  61. package/server.json +3 -3
@@ -4,7 +4,7 @@
4
4
  * with backoff, CIK resolution, and ticker/entity caching.
5
5
  * @module services/edgar/edgar-api-service
6
6
  */
7
- import { type FilingDocumentHeader } from './filing-headers.js';
7
+ import { type FilingHeaders, type SubmissionHeader } from './filing-headers.js';
8
8
  import type { CikMatch, CompanyConceptResponse, CompanyFactsResponse, EftsResponse, FilingIndex, FilingsRecent, FramesResponse, FullIndexEntry, SubmissionsResponse } from './types.js';
9
9
  /** A candidate suggestion from the trigram scan on no-result name search. */
10
10
  export interface CompanySuggestion {
@@ -141,8 +141,9 @@ declare class EdgarApiService {
141
141
  /** Return the current in-memory entry list (used by the handler for trigram suggestions). */
142
142
  getAllEntries(): Promise<CikMatch[]>;
143
143
  /**
144
- * Fetch a filer's submissions document (entity metadata + the ~1000-filing
145
- * `recent` window + the `files[]` archive-page manifest). Cached per CIK within
144
+ * Fetch a filer's submissions document (entity metadata + the `recent` window —
145
+ * the last year or 1,000 filings, whichever holds more — + the `files[]`
146
+ * archive-page manifest). Cached per CIK within
146
147
  * the ticker-cache TTL — the doc is large and re-read on every archive-paging
147
148
  * scan (#78). A 404 throws (uncached) so a bad CIK still surfaces.
148
149
  */
@@ -150,7 +151,7 @@ declare class EdgarApiService {
150
151
  /**
151
152
  * Fetch a submissions archive page (`filings.files[].name`, e.g.
152
153
  * `CIK0000320193-submissions-001.json`) — the older filings that don't fit the
153
- * ~1000-entry `recent` window. The page body is a flat parallel-array object
154
+ * `recent` window. Read through `SubmissionsArchiveWalk`. The page body is a flat parallel-array object
154
155
  * field-compatible with `FilingsRecent`. Cached per page within the ticker-cache
155
156
  * TTL (pages are large and effectively immutable once archived).
156
157
  */
@@ -184,12 +185,19 @@ declare class EdgarApiService {
184
185
  /** Fetch a filing's document index. Returns `null` if the filing does not exist. */
185
186
  tryGetFilingIndex(cik: string, accessionNumber: string): Promise<FilingIndex | null>;
186
187
  /**
187
- * Fetch the SEC submission header (`<accession>-index-headers.html`) and parse
188
- * it into a `filename → metadata` map. Returns `null` if the file is absent.
189
- * The header page exposes canonical SEC document TYPE values (e.g. "EX-21.1")
190
- * that the directory listing JSON does not.
188
+ * Fetch the SEC submission header page (`<accession>-index-headers.html`) and parse
189
+ * it into the `filename → metadata` map plus the submission's own form, filing date,
190
+ * and period. Returns `null` if the page is absent. The page exposes canonical SEC
191
+ * document TYPE values (e.g. "EX-21.1") that the directory listing JSON does not.
191
192
  */
192
- tryGetFilingHeaders(cik: string, accessionNumber: string): Promise<Map<string, FilingDocumentHeader> | null>;
193
+ tryGetFilingHeaders(cik: string, accessionNumber: string): Promise<FilingHeaders | null>;
194
+ /**
195
+ * Fetch the bare SGML submission header (`<accession>.hdr.sgml`, under 1 KB) and read
196
+ * its form, filing date, and period. Returns `null` if the file is absent. The
197
+ * fallback for filings whose index-headers page is missing — common among filings
198
+ * made before 2014; it lists no documents.
199
+ */
200
+ tryGetSubmissionHeader(cik: string, accessionNumber: string): Promise<SubmissionHeader | null>;
193
201
  getFilingDocument(cik: string, accessionNumber: string, document: string): Promise<string>;
194
202
  /**
195
203
  * Fetch a filing document, returning `null` when the archive path exists but this document does not.
@@ -289,33 +297,46 @@ declare class EdgarApiService {
289
297
  private cooldownSecondsRemaining;
290
298
  private getTickerCache;
291
299
  /**
292
- * Load the ticker index, preferring the local mirror when enabled and synced.
293
- * The live directory is the cold-start / not-ready fallback (and the only path
294
- * when the mirror is off).
295
- *
296
- * In addition to company_tickers.json (operating companies), also loads
297
- * company_tickers_mf.json (ETFs and mutual funds) and merges fund symbols into
298
- * the byTicker index so fund tickers like VOO, SCHD, and JEPI resolve correctly.
299
- *
300
- * Mirror path (#43): when `mirrorFallbackLive` is true, a live MF fetch is merged
301
- * into the mirror-served equity base so fund tickers resolve even if the mirror
302
- * was synced before MF ingestion was added. When `mirrorFallbackLive` is false
303
- * (strict offline), the mirror's own MF rows are the sole source.
300
+ * Singleflight: concurrent callers (e.g. fetch-frames enriching ~5k reporters
301
+ * in parallel) share one in-flight load instead of each queuing its own SEC
302
+ * fetch through the pacer.
304
303
  */
304
+ private loadTickerCacheOnce;
305
+ /** Load the whole ticker index: its base, then the live fund slice when the base calls for one. */
305
306
  private loadTickerCache;
307
+ /** Refetch a failed live fund slice and rebuild the index on the cached base. */
308
+ private reloadFundSlice;
306
309
  /**
307
- * Fetch and parse company_tickers_mf.json. Returns an empty array on failure
308
- * so a SEC file outage does not break company resolution entirely.
309
- * Entries are MF-only: they carry seriesId/classId and no `name` field.
310
- * These merge into byTicker only (not byCik) since one registrant trust
311
- * holds many fund series.
310
+ * Everything the ticker index holds but the live fund slice, preferring the local
311
+ * mirror when it is enabled and synced; company_tickers.json is the cold-start /
312
+ * not-ready fallback and the only source when the mirror is off. `liveFunds` says
313
+ * whether company_tickers_mf.json supplements it: always on the live path, and on
314
+ * the mirror path under `mirrorFallbackLive`, where it covers a mirror synced
315
+ * before fund ingestion (#43) and is the only source of series and class IDs,
316
+ * since the mirror stores a fund symbol as a bare ticker → CIK row. Strict mirror
317
+ * mode reads nothing live, so the mirror's fund rows are its only fund tickers.
318
+ */
319
+ private loadTickerBase;
320
+ /**
321
+ * Fetch company_tickers_mf.json (ETFs and mutual funds) as fund rows carrying
322
+ * series and class IDs. Never throws: operating-company resolution must not
323
+ * depend on the fund file. A failed load — any HTTP failure, a malformed body,
324
+ * or the block gate's local refusal — returns no rows and a `retryAt`, so the
325
+ * index without funds stands for the retry window rather than the whole TTL
326
+ * (#119). The window is at least the error's `retryAfter`, so a load refused
327
+ * by the rate-limit gate is not retried until the cool-down ends.
312
328
  */
313
329
  private loadMfTickers;
314
330
  /**
315
- * Build the in-memory CIK index from normalized entries (live JSON or mirror rows).
316
- * MF entries (with seriesId/classId) go into byTicker only — not byCik — because
317
- * a registrant trust (e.g. CIK 36405 = Vanguard Index Funds) holds many series.
318
- * Former-name entries go into allEntries only (name search only, no ticker/CIK index).
331
+ * Build the in-memory index. Equity rows fill `byTicker`, `byCik`, and — when they
332
+ * carry a name — `allEntries` for name search. Fund rows fill `byTicker` only,
333
+ * never `byCik`, because a registrant trust (CIK 36405 = Vanguard Index Funds)
334
+ * holds many series; live fund rows also fill `bySeriesId`. On a shared symbol the
335
+ * first to claim it wins, in the order equity, live fund, mirror fund: a fund
336
+ * symbol never overrides an operating-company ticker on the rare cross-file
337
+ * collision (SPCX), and a live fund entry, carrying series and class, supersedes
338
+ * the mirror's bare row for the same symbol (#135). Former names from the
339
+ * committed asset go into `allEntries` only.
319
340
  */
320
341
  private buildTickerCache;
321
342
  }
@@ -326,15 +347,6 @@ declare class EdgarApiService {
326
347
  * their own fields.
327
348
  */
328
349
  export declare function cleanDisplayName(displayName: string): string;
329
- /**
330
- * Range-based selection of submissions archive-page manifest entries (`filings.files[]`),
331
- * returned newest-first (by `filingTo` descending). A page's [filingFrom, filingTo]
332
- * window is kept unless it lies entirely before `filedAfter` or entirely after
333
- * `filedBefore`; with no bounds, every page is returned. Routes company_search's
334
- * older-filings scan directly to the pages covering a requested date range, or walks
335
- * all pages newest-first when a form filter under-fills the recent window (#78).
336
- */
337
- export declare function selectArchivePages(files: SubmissionsResponse['filings']['files'], filedAfter?: string, filedBefore?: string): SubmissionsResponse['filings']['files'];
338
350
  /**
339
351
  * Parse a quarterly EDGAR `master.idx` into filing rows. The file is a short
340
352
  * metadata preamble, then a `CIK|Company Name|Form Type|Date Filed|Filename`
@@ -362,8 +374,8 @@ export declare function parseSeriesFilingFeed(xml: string): SeriesFilingFeed;
362
374
  export declare function rawDocumentName(primaryDocument: string | undefined): string;
363
375
  /**
364
376
  * Enumerate the calendar quarters overlapping the inclusive [startDate, endDate]
365
- * range (both YYYY-MM-DD), returned NEWEST-first to mirror `selectArchivePages`
366
- * — a capped scan then keeps the most recent quarters, consistent with the
377
+ * range (both YYYY-MM-DD), returned NEWEST-first like the archive-page walk's
378
+ * default order — a capped scan then keeps the most recent quarters, consistent with the
367
379
  * default filing-date-descending sort. Routes search_filings' pre-2001
368
380
  * full-index browse to the `master.idx` files it must fetch (#77).
369
381
  */
@@ -1 +1 @@
1
- {"version":3,"file":"edgar-api-service.d.ts","sourceRoot":"","sources":["../../../src/services/edgar/edgar-api-service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,OAAO,EAAE,KAAK,oBAAoB,EAAsB,MAAM,qBAAqB,CAAC;AACpF,OAAO,KAAK,EACV,QAAQ,EACR,sBAAsB,EACtB,oBAAoB,EAEpB,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,cAAc,EACd,mBAAmB,EAEpB,MAAM,YAAY,CAAC;AA6EpB,6EAA6E;AAC7E,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,kFAAkF;AAClF,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,6EAA6E;AAC7E,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,+EAA+E;AAC/E,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9E,0FAA0F;IAC1F,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAwBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAK3D;AAmBD;;;GAGG;AACH,wBAAg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