@cyanheads/secedgar-mcp-server 0.17.0 → 0.17.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 (59) hide show
  1. package/AGENTS.md +18 -15
  2. package/CLAUDE.md +18 -15
  3. package/README.md +12 -9
  4. package/changelog/0.17.x/0.17.1.md +36 -0
  5. package/dist/config/server-config.js +1 -1
  6. package/dist/config/server-config.js.map +1 -1
  7. package/dist/index.js +2 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/mcp-server/tools/definitions/company-search.tool.d.ts.map +1 -1
  10. package/dist/mcp-server/tools/definitions/company-search.tool.js +6 -4
  11. package/dist/mcp-server/tools/definitions/company-search.tool.js.map +1 -1
  12. package/dist/mcp-server/tools/definitions/compare-companies.tool.d.ts +8 -4
  13. package/dist/mcp-server/tools/definitions/compare-companies.tool.d.ts.map +1 -1
  14. package/dist/mcp-server/tools/definitions/compare-companies.tool.js +169 -39
  15. package/dist/mcp-server/tools/definitions/compare-companies.tool.js.map +1 -1
  16. package/dist/mcp-server/tools/definitions/fetch-frames.tool.d.ts +4 -4
  17. package/dist/mcp-server/tools/definitions/fetch-frames.tool.d.ts.map +1 -1
  18. package/dist/mcp-server/tools/definitions/fetch-frames.tool.js +24 -8
  19. package/dist/mcp-server/tools/definitions/fetch-frames.tool.js.map +1 -1
  20. package/dist/mcp-server/tools/definitions/find-holders.tool.d.ts +14 -0
  21. package/dist/mcp-server/tools/definitions/find-holders.tool.d.ts.map +1 -1
  22. package/dist/mcp-server/tools/definitions/find-holders.tool.js +34 -7
  23. package/dist/mcp-server/tools/definitions/find-holders.tool.js.map +1 -1
  24. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.d.ts +2 -0
  25. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.d.ts.map +1 -1
  26. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js +146 -77
  27. package/dist/mcp-server/tools/definitions/get-beneficial-owners.tool.js.map +1 -1
  28. package/dist/mcp-server/tools/definitions/get-filing.tool.d.ts +4 -4
  29. package/dist/mcp-server/tools/definitions/get-filing.tool.d.ts.map +1 -1
  30. package/dist/mcp-server/tools/definitions/get-filing.tool.js +305 -81
  31. package/dist/mcp-server/tools/definitions/get-filing.tool.js.map +1 -1
  32. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts +14 -0
  33. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.d.ts.map +1 -1
  34. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js +8 -0
  35. package/dist/mcp-server/tools/definitions/get-institutional-holdings.tool.js.map +1 -1
  36. package/dist/mcp-server/tools/definitions/get-material-events.tool.d.ts.map +1 -1
  37. package/dist/mcp-server/tools/definitions/get-material-events.tool.js +3 -1
  38. package/dist/mcp-server/tools/definitions/get-material-events.tool.js.map +1 -1
  39. package/dist/mcp-server/tools/definitions/index.d.ts +453 -423
  40. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  41. package/dist/mcp-server/tools/definitions/search-filings.tool.d.ts +33 -0
  42. package/dist/mcp-server/tools/definitions/search-filings.tool.d.ts.map +1 -1
  43. package/dist/mcp-server/tools/definitions/search-filings.tool.js +31 -2
  44. package/dist/mcp-server/tools/definitions/search-filings.tool.js.map +1 -1
  45. package/dist/mcp-server/tools/limit-clamp.d.ts +50 -18
  46. package/dist/mcp-server/tools/limit-clamp.d.ts.map +1 -1
  47. package/dist/mcp-server/tools/limit-clamp.js +51 -15
  48. package/dist/mcp-server/tools/limit-clamp.js.map +1 -1
  49. package/dist/services/edgar/edgar-api-service.d.ts +75 -11
  50. package/dist/services/edgar/edgar-api-service.d.ts.map +1 -1
  51. package/dist/services/edgar/edgar-api-service.js +273 -50
  52. package/dist/services/edgar/edgar-api-service.js.map +1 -1
  53. package/dist/services/edgar/filing-to-text.d.ts +4 -3
  54. package/dist/services/edgar/filing-to-text.d.ts.map +1 -1
  55. package/dist/services/edgar/filing-to-text.js +12 -0
  56. package/dist/services/edgar/filing-to-text.js.map +1 -1
  57. package/package.json +4 -4
  58. package/server.json +3 -3
  59. package/skills/secedgar-guide/SKILL.md +1 -0
@@ -12,6 +12,26 @@ interface HeadCutoff {
12
12
  readonly maxBytes: number;
13
13
  readonly stopAt?: string;
14
14
  }
15
+ /**
16
+ * A failure EDGAR full-text search relays in a 200 body in place of its payload (#206):
17
+ * `errorType` is the class of the error its OpenSearch client threw, `errorMessage`
18
+ * that error's message, when the body carries one as a string.
19
+ */
20
+ interface EftsBackendError {
21
+ readonly errorMessage: string | undefined;
22
+ readonly errorType: string;
23
+ }
24
+ /** How one request reads its answer. */
25
+ interface ReadOptions {
26
+ /**
27
+ * The transient backend failure a whole 2xx body relays, which fails the attempt
28
+ * like a 5xx — or `undefined` for a body to return. Opt-in per request: only EDGAR
29
+ * full-text search answers its backend's failures this way (#206).
30
+ */
31
+ readonly backendFailure?: (text: string, url: string) => EftsBackendError | undefined;
32
+ /** Read only the body's head (`tryGetFilingDocumentHead`). */
33
+ readonly cutoff?: HeadCutoff;
34
+ }
15
35
  /** A candidate suggestion from the trigram scan on no-result name search. */
16
36
  export interface CompanySuggestion {
17
37
  cik: string;
@@ -54,6 +74,15 @@ export interface SeriesFilingFeed {
54
74
  * back unchanged, so the result is safe to compare against a raw lowercased name.
55
75
  */
56
76
  export declare function normalizeCompanySuffix(name: string): string;
77
+ /**
78
+ * Delete every comma, period, and apostrophe (`'` and `’`) from a company name, the
79
+ * comparison form the name passes' folded tiers read, so `QXO Inc` meets `QXO, Inc.`,
80
+ * `U.S. Bancorp` meets `US BANCORP`, and `Macys` meets `Macy's, Inc.` (#210). A period
81
+ * is deleted, never turned into a space, so a dotted initialism meets its undotted
82
+ * spelling. Nothing else changes — whitespace runs, `&`, `-`, `/`, and `\` stay — and the
83
+ * result is for comparison only: a returned name is never folded.
84
+ */
85
+ export declare function foldNamePunctuation(name: string): string;
57
86
  /**
58
87
  * Run a trigram similarity scan over the in-memory entry set. Each entry is scored
59
88
  * on its name and on its ticker, and keeps the higher of the two — one ranked,
@@ -83,8 +112,11 @@ declare class EdgarApiService {
83
112
  * any request made afterwards. Requests already sent are left to finish.
84
113
  */
85
114
  dispose(): void;
86
- /** Fetch and parse JSON, throwing on non-OK responses and on a body that is not JSON. */
87
- fetchJson<T>(url: string, scope: CallScope): Promise<T>;
115
+ /**
116
+ * Fetch and parse JSON, throwing on non-OK responses and on a body that is not JSON.
117
+ * `backendFailure` names the 200 bodies that fail an attempt (#206).
118
+ */
119
+ fetchJson<T>(url: string, scope: CallScope, options?: Pick<ReadOptions, 'backendFailure'>): Promise<T>;
88
120
  /** Fetch JSON, returning `null` on 404 and throwing on other non-OK responses. */
89
121
  tryFetchJson<T>(url: string, scope: CallScope): Promise<T | null>;
90
122
  /** Fetch raw text content (HTML filing documents). */
@@ -95,8 +127,9 @@ declare class EdgarApiService {
95
127
  * Resolve a query (ticker, name, or CIK) to company match(es).
96
128
  * - Numeric input → direct CIK lookup
97
129
  * - 1-5 uppercase letters → ticker lookup (O(1))
98
- * - Otherwise → name search (exact, prefix, substring — resolved within the best
99
- * tier a current name reaches), then the catch-all ticker lookup
130
+ * - Otherwise → name search (exact as written, exact once commas, periods, and
131
+ * apostrophes are folded out, prefix once folded, substring as written — resolved
132
+ * within the best tier a current name reaches), then the catch-all ticker lookup
100
133
  * Returns a single match, an array of multiple matches, or an empty array (no match).
101
134
  * On no-result name search, the returned empty array carries `suggestions` on
102
135
  * the thrown error at the handler layer — call `suggestCompanies` there.
@@ -111,7 +144,9 @@ declare class EdgarApiService {
111
144
  * a legal name under different CIKs (e.g. "VANGUARD GROUP INC" = a transfer agent and
112
145
  * the 13F filer), so callers must disambiguate rather than auto-pick the top hit (#73).
113
146
  * Distinct from `searchFilings`: same URL path, different query param (`keysTyped`)
114
- * and response shape (`_source.entity`, not the filing-document `_source`).
147
+ * and response shape (`_source.entity`, not the filing-document `_source`). A
148
+ * failure of the search backend throws `efts_degraded_response` like a search's,
149
+ * never reads as no match (#206). The name is escaped like a search's `q` (#205).
115
150
  */
116
151
  resolveEntityByName(name: string, scope: CallScope): Promise<EntityNameMatch[]>;
117
152
  /** Reverse lookup: CIK → ticker symbol. */
@@ -187,7 +222,12 @@ declare class EdgarApiService {
187
222
  * Returns zero or more padded 10-digit CIKs in SEC-provided order.
188
223
  */
189
224
  findFilingCiks(accessionNumber: string, scope: CallScope): Promise<string[]>;
190
- /** Fetch a filing's document index. Returns `null` if the filing does not exist. */
225
+ /**
226
+ * Fetch a filing's document index. Returns `null` if the filing does not exist.
227
+ * Entries listed with no filename are dropped: SEC lists each document of a
228
+ * pre-2001 SGML submission that way, with only its size, and such a document
229
+ * exists only inside the full submission `<accession>.txt` (#203).
230
+ */
191
231
  tryGetFilingIndex(cik: string, accessionNumber: string, scope: CallScope): Promise<FilingIndex | null>;
192
232
  /**
193
233
  * Fetch the SEC submission header page (`<accession>-index-headers.html`) and parse
@@ -196,6 +236,16 @@ declare class EdgarApiService {
196
236
  * document TYPE values (e.g. "EX-21.1") that the directory listing JSON does not.
197
237
  */
198
238
  tryGetFilingHeaders(cik: string, accessionNumber: string, scope: CallScope): Promise<FilingHeaders | null>;
239
+ /**
240
+ * Fetch a filing's index page (`<accession>-index.html`) and return the CIKs of the
241
+ * parties it names — filer, subject company, filed-by, reporting owner, issuer — in
242
+ * page order, without repeats (see {@link filingPartyCiks}). Returns `null` if the
243
+ * page is absent. SEC serves the page under the accession number's own prefix CIK
244
+ * for any filing that exists, including a filing agent's prefix whose directory has
245
+ * no `index.json`, so it names the filers of an accession full-text search does not
246
+ * cover (before 2001) (#203).
247
+ */
248
+ tryGetFilingPartyCiks(cik: string, accessionNumber: string, scope: CallScope): Promise<string[] | null>;
199
249
  /**
200
250
  * Fetch the bare SGML submission header (`<accession>.hdr.sgml`, under 1 KB) and read
201
251
  * its form, filing date, and period. Returns `null` if the file is absent. The
@@ -285,10 +335,12 @@ declare class EdgarApiService {
285
335
  * 404's, a retried 5xx's, a 429's, one that lands as the caller cancels — is
286
336
  * cancelled unread (#188); an error the last attempt earns carries a bounded head
287
337
  * of its body, read like any other (#202). The body is read inside the ladder
288
- * (#181): a 5xx, an attempt that got no HTTP response, and a 2xx whose body
289
- * failed to read all retry up to `MAX_RETRIES` attempts, and
290
- * then the last attempt decides — a 5xx throws its status-classified `McpError`,
291
- * the other two `sec_unreachable`. Other non-OK statuses throw at once, as does
338
+ * (#181): a 5xx, an attempt that got no HTTP response, a 2xx whose body failed to
339
+ * read, and — for a request that opts in with `backendFailure` — a 2xx whose whole
340
+ * body relays a transient failure of the search backend (#206) all retry up to
341
+ * `MAX_RETRIES` attempts, and then the last attempt decides — a 5xx throws its
342
+ * status-classified `McpError`, a backend failure `efts_degraded_response`, the
343
+ * other two `sec_unreachable`. Other non-OK statuses throw at once, as does
292
344
  * the local refusal while SEC's rate-limit block is active, and the pacer's
293
345
  * `RequestCancelled` — those are `McpError`s from `send()`, never retried.
294
346
  *
@@ -301,7 +353,8 @@ declare class EdgarApiService {
301
353
  private rawFetch;
302
354
  /**
303
355
  * The error a request's last attempt earned: `sec_unreachable` for no response or
304
- * an unreadable body; for an HTTP answer, its status-classified `McpError`, with
356
+ * an unreadable body; `efts_degraded_response` for a body relaying a failure of the
357
+ * search backend (#206); for an HTTP answer, its status-classified `McpError`, with
305
358
  * the 403 and 429 hints. A 5xx ladder the failure budget stopped keeps its status
306
359
  * mapping and `data`, and its message says the budget stopped it (#179).
307
360
  *
@@ -413,6 +466,17 @@ export declare function parseMasterIndex(text: string): FullIndexEntry[];
413
466
  * result — the caller's cue that the series is unknown. Exported for direct unit testing.
414
467
  */
415
468
  export declare function parseSeriesFilingFeed(xml: string): SeriesFilingFeed;
469
+ /**
470
+ * The 10-digit CIKs a filing index page (`<accession>-index.html`) names, in page
471
+ * order without repeats: every party block links its company as
472
+ * `browse-edgar?CIK=<10 digits>&amp;action=getcompany`, while the page's other
473
+ * `browse-edgar` links (latest filings, file number, SIC code) carry no `CIK`
474
+ * parameter (#203). One forward pass: each link's query ends at the first character
475
+ * that ends an `href`, the next link is searched for from there, and the `CIK`
476
+ * parameter is looked for inside that query alone, so no character is scanned more
477
+ * than twice whatever the markup. Exported for direct unit testing.
478
+ */
479
+ export declare function filingPartyCiks(html: string): string[];
416
480
  /**
417
481
  * Name of the raw XML document inside a filing's archive directory. The submissions feed
418
482
  * points at the human-readable rendering (`xslSCHEDULE_13D_X02/primary_doc.xml`,
@@ -1 +1 @@
1
- {"version":3,"file":"edgar-api-service.d.ts","sourceRoot":"","sources":["../../../src/services/edgar/edgar-api-service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAeH,OAAO,EAA0B,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACV,QAAQ,EACR,sBAAsB,EAEtB,oBAAoB,EAEpB,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,cAAc,EACd,mBAAmB,EAEpB,MAAM,YAAY,CAAC;AAiGpB,kHAAkH;AAClH,UAAU,UAAU;IAClB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AA0JD,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;I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