finimpulse-mcp-server 1.2.1 → 1.3.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 (86) hide show
  1. package/README.md +92 -51
  2. package/build/tools/events/tickers/handler.js +4 -0
  3. package/build/tools/events/tickers/handler.js.map +1 -0
  4. package/build/tools/events/tickers/index.js +6 -0
  5. package/build/tools/events/tickers/index.js.map +1 -0
  6. package/build/tools/events/tickers/schema.js +11 -0
  7. package/build/tools/events/tickers/schema.js.map +1 -0
  8. package/build/tools/events/tickers/types.js +2 -0
  9. package/build/tools/events/tickers/types.js.map +1 -0
  10. package/build/tools/historical/currencies/handler.js +4 -0
  11. package/build/tools/historical/currencies/handler.js.map +1 -0
  12. package/build/tools/historical/currencies/index.js +6 -0
  13. package/build/tools/historical/currencies/index.js.map +1 -0
  14. package/build/tools/historical/currencies/schema.js +26 -0
  15. package/build/tools/historical/currencies/schema.js.map +1 -0
  16. package/build/tools/historical/currencies/types.js +2 -0
  17. package/build/tools/historical/currencies/types.js.map +1 -0
  18. package/build/tools/historical/index.js +1 -1
  19. package/build/tools/historical/index.js.map +1 -1
  20. package/build/tools/historical/schema.js +3 -16
  21. package/build/tools/historical/schema.js.map +1 -1
  22. package/build/tools/holdings/history/handler.js +4 -0
  23. package/build/tools/holdings/history/handler.js.map +1 -0
  24. package/build/tools/holdings/history/index.js +6 -0
  25. package/build/tools/holdings/history/index.js.map +1 -0
  26. package/build/tools/holdings/history/schema.js +12 -0
  27. package/build/tools/holdings/history/schema.js.map +1 -0
  28. package/build/tools/holdings/history/types.js +2 -0
  29. package/build/tools/holdings/history/types.js.map +1 -0
  30. package/build/tools/holdings/history-dates/handler.js +5 -0
  31. package/build/tools/holdings/history-dates/handler.js.map +1 -0
  32. package/build/tools/holdings/history-dates/index.js +6 -0
  33. package/build/tools/holdings/history-dates/index.js.map +1 -0
  34. package/build/tools/holdings/history-dates/schema.js +9 -0
  35. package/build/tools/holdings/history-dates/schema.js.map +1 -0
  36. package/build/tools/holdings/history-dates/types.js +2 -0
  37. package/build/tools/holdings/history-dates/types.js.map +1 -0
  38. package/build/tools/index.js +18 -0
  39. package/build/tools/index.js.map +1 -1
  40. package/build/tools/macro-economics/handler.js +4 -0
  41. package/build/tools/macro-economics/handler.js.map +1 -0
  42. package/build/tools/macro-economics/index.js +6 -0
  43. package/build/tools/macro-economics/index.js.map +1 -0
  44. package/build/tools/macro-economics/schema.js +10 -0
  45. package/build/tools/macro-economics/schema.js.map +1 -0
  46. package/build/tools/macro-economics/types.js +2 -0
  47. package/build/tools/macro-economics/types.js.map +1 -0
  48. package/build/tools/market/calendars/handler.js +4 -0
  49. package/build/tools/market/calendars/handler.js.map +1 -0
  50. package/build/tools/market/calendars/index.js +6 -0
  51. package/build/tools/market/calendars/index.js.map +1 -0
  52. package/build/tools/market/calendars/schema.js +10 -0
  53. package/build/tools/market/calendars/schema.js.map +1 -0
  54. package/build/tools/market/calendars/types.js +2 -0
  55. package/build/tools/market/calendars/types.js.map +1 -0
  56. package/build/tools/market/index/handler.js +4 -0
  57. package/build/tools/market/index/handler.js.map +1 -0
  58. package/build/tools/market/index/index.js +6 -0
  59. package/build/tools/market/index/index.js.map +1 -0
  60. package/build/tools/market/index/schema.js +15 -0
  61. package/build/tools/market/index/schema.js.map +1 -0
  62. package/build/tools/market/index/types.js +2 -0
  63. package/build/tools/market/index/types.js.map +1 -0
  64. package/build/tools/news/index.js +1 -1
  65. package/build/tools/news/index.js.map +1 -1
  66. package/build/tools/news/schema.js +8 -46
  67. package/build/tools/news/schema.js.map +1 -1
  68. package/build/tools/sec-filings/events/handler.js +4 -0
  69. package/build/tools/sec-filings/events/handler.js.map +1 -0
  70. package/build/tools/sec-filings/events/index.js +6 -0
  71. package/build/tools/sec-filings/events/index.js.map +1 -0
  72. package/build/tools/sec-filings/events/schema.js +14 -0
  73. package/build/tools/sec-filings/events/schema.js.map +1 -0
  74. package/build/tools/sec-filings/events/types.js +2 -0
  75. package/build/tools/sec-filings/events/types.js.map +1 -0
  76. package/build/tools/sec-filings/insider-transactions/handler.js +4 -0
  77. package/build/tools/sec-filings/insider-transactions/handler.js.map +1 -0
  78. package/build/tools/sec-filings/insider-transactions/index.js +6 -0
  79. package/build/tools/sec-filings/insider-transactions/index.js.map +1 -0
  80. package/build/tools/sec-filings/insider-transactions/schema.js +14 -0
  81. package/build/tools/sec-filings/insider-transactions/schema.js.map +1 -0
  82. package/build/tools/sec-filings/insider-transactions/types.js +2 -0
  83. package/build/tools/sec-filings/insider-transactions/types.js.map +1 -0
  84. package/build/utils/filters.js +29 -0
  85. package/build/utils/filters.js.map +1 -1
  86. package/package.json +1 -1
package/README.md CHANGED
@@ -79,15 +79,14 @@ Open `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-level) and add
79
79
 
80
80
  #### VS Code (Copilot)
81
81
 
82
- Open your VS Code `settings.json` and add:
82
+ Open the `mcp.json` configuration file: run **MCP: Open User Configuration** from the **Command Palette** to make the server available in all workspaces, or create `.vscode/mcp.json` in the workspace folder to use it only in the current project. Add the following configuration to the file:
83
83
 
84
84
  ```json
85
85
  {
86
- "mcp": {
87
- "servers": {
88
- "finimpulse": {
89
- "url": "https://mcp.finimpulse.com/mcp"
90
- }
86
+ "servers": {
87
+ "finimpulse": {
88
+ "type": "http",
89
+ "url": "https://mcp.finimpulse.com/mcp"
91
90
  }
92
91
  }
93
92
  }
@@ -110,12 +109,13 @@ Claude Desktop does not yet speak Streamable HTTP natively. Bridge through `mcp-
110
109
 
111
110
  #### ChatGPT
112
111
 
113
- In the ChatGPT desktop app go to **Settings → Connectors → Add custom connector** and enter:
112
+ In the ChatGPT web app go to **Plugins → Add → Add custom MCP server** and enter the following:
114
113
 
115
- - URL: `https://mcp.finimpulse.com/mcp`
114
+ - Name: `FinImpulse`
115
+ - Connection: Server URL, `https://mcp.finimpulse.com/mcp`
116
116
  - Authentication: OAuth
117
117
 
118
- #### Windsurf / Cline / other Streamable-HTTP clients
118
+ #### Devin Desktop (Windsurf) / Cline / other Streamable-HTTP clients
119
119
 
120
120
  Any MCP client that supports the Streamable HTTP transport can use the URL directly:
121
121
 
@@ -158,10 +158,14 @@ Add the server configuration:
158
158
  #### Claude Code
159
159
 
160
160
  ```bash
161
- claude mcp add finimpulse -- npx -y finimpulse-mcp-server
161
+ claude mcp add finimpulse -e API_TOKEN=your-api-token -- npx -y finimpulse-mcp-server
162
162
  ```
163
163
 
164
- Then set the `API_TOKEN` environment variable or pass it inline.
164
+ To verify the connection, run:
165
+
166
+ ```bash
167
+ claude mcp list
168
+ ```
165
169
 
166
170
  #### Cursor
167
171
 
@@ -181,9 +185,15 @@ Open `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-level) and add
181
185
  }
182
186
  ```
183
187
 
184
- #### Windsurf
188
+ #### Devin Desktop (Windsurf)
189
+
190
+ Open `mcp_config.json`:
191
+
192
+ - macOS: `~/.config/devin/mcp_config.json`
193
+ - Windows: `%APPDATA%\devin\mcp_config.json`
194
+ - Linux: `~/.config/devin/mcp_config.json`
185
195
 
186
- Open `~/.codeium/windsurf/mcp_config.json` and add:
196
+ Add the server configuration:
187
197
 
188
198
  ```json
189
199
  {
@@ -201,33 +211,32 @@ Open `~/.codeium/windsurf/mcp_config.json` and add:
201
211
 
202
212
  #### VS Code (Copilot)
203
213
 
204
- Open your VS Code `settings.json` and add:
214
+ Open the `mcp.json` configuration file: run **MCP: Open User Configuration** from the **Command Palette** to make the server available in all workspaces, or create `.vscode/mcp.json` in the workspace folder to use it only in the current project. Add the following configuration to the file:
205
215
 
206
216
  ```json
207
217
  {
208
- "mcp": {
209
- "servers": {
210
- "finimpulse": {
211
- "command": "npx",
212
- "args": ["-y", "finimpulse-mcp-server"],
213
- "env": {
214
- "API_TOKEN": "your-api-token"
215
- }
218
+ "servers": {
219
+ "finimpulse": {
220
+ "type": "stdio",
221
+ "command": "npx",
222
+ "args": ["-y", "finimpulse-mcp-server"],
223
+ "env": {
224
+ "API_TOKEN": "your-api-token"
216
225
  }
217
226
  }
218
227
  }
219
228
  }
220
229
  ```
221
230
 
222
- #### Gemini CLI
231
+ #### Antigravity CLI
223
232
 
224
233
  ```bash
225
- gemini mcp add finimpulse -- npx -y finimpulse-mcp-server
234
+ agy mcp add -e API_TOKEN=your-api-token finimpulse -- npx -y finimpulse-mcp-server
226
235
  ```
227
236
 
228
237
  #### Cline
229
238
 
230
- Open Cline settings, go to **MCP Servers**, and add a new server with this config:
239
+ Open the Cline panel, click the **MCP Servers** icon, go to the **Configure** tab, and select **Configure MCP Servers** to open the configuration file. Add the following configuration:
231
240
 
232
241
  ```json
233
242
  {
@@ -245,46 +254,60 @@ Open Cline settings, go to **MCP Servers**, and add a new server with this confi
245
254
 
246
255
  #### Any MCP-Compatible Client (stdio)
247
256
 
248
- ```bash
249
- API_TOKEN=your-api-token npx finimpulse-mcp-server
250
- ```
257
+ For clients that support stdio only, configure the client to launch the server with the following parameters, replacing `your-api-token` with your FinImpulse API token:
258
+
259
+ - Command: `npx`
260
+ - Arguments: `-y finimpulse-mcp-server`
261
+ - Environment variable: `API_TOKEN=your-api-token`
251
262
 
252
263
  ## Available Tools
253
264
 
265
+ The server exposes 38 tools across 11 functional groups.
266
+
254
267
  ### Search & Discovery
255
268
 
256
269
  | Tool | Description |
257
270
  |------|-------------|
258
271
  | `get_search` | Cross-asset search for stocks, ETFs, and mutual funds. Powers ticker autocomplete and discovery flows. |
272
+ | `get_search_lite` | Lightweight cross-asset search with a focused field set: core identification, current pricing, and key performance metrics. |
273
+ | `get_market_index` | Search ~39,000 global market indices with latest close, daily change, 52-week range, and one-year return. |
259
274
 
260
- ### Market Data
275
+ ### Price Data
261
276
 
262
277
  | Tool | Description |
263
278
  |------|-------------|
264
- | `get_summary` | Comprehensive single-call snapshot: identity, market data, fundamentals, ownership, analyst coverage, and fund metrics. |
279
+ | `get_market_price` | Current market price snapshot: pre-market, regular, and post-market session prices for US-listed assets, plus the latest traded price. |
265
280
  | `get_histories` | Historical time-series: prices, dividends, splits, and capital gains with configurable date range and interval. |
281
+ | `get_histories_currencies` | Historical forex exchange rates (OHLC) for currency pairs with configurable date range and interval. |
282
+
283
+ ### Asset Summary & Profile
284
+
285
+ | Tool | Description |
286
+ |------|-------------|
287
+ | `get_summary` | Comprehensive single-call snapshot: identity, market data, fundamentals, ownership, analyst coverage, and fund metrics. |
288
+ | `get_summary_lite` | Focused snapshot of key identification, market, and fundamental data with a configurable field selection. |
266
289
  | `get_profile` | Asset profile and descriptive metadata: identity, classification, governance, and fund-specific attributes. |
267
- | `get_news` | Latest news and press releases with headlines, descriptions, related tickers, and provider info. |
268
290
 
269
- ### Statistics & Performance
291
+ ### News, Events & Calendars
270
292
 
271
293
  | Tool | Description |
272
294
  |------|-------------|
273
- | `get_statistics_general` | Key statistics and performance indicators: valuation, dividends, risk, trailing returns. |
274
- | `get_statistics_risks` | Risk-adjusted performance metrics (Alpha, Beta, Sharpe, Treynor, R-squared) across 3y/5y/10y horizons. |
275
- | `get_statistics_annual_returns` | Historical annual total returns by calendar year with quarterly breakdowns. |
295
+ | `get_news` | Latest news and press releases with headlines, descriptions, related tickers, and provider info. |
296
+ | `get_sec_filings_events` | SEC filing events: filing dates, form types (10-K, 8-K, ...), document metadata, and source URLs. |
297
+ | `get_sec_filings_insider_transactions` | Record-level SEC Form 4 / 4/A data for one filing: insider transactions and holdings, transaction codes, ownership after the transaction, footnotes. |
298
+ | `get_events_tickers` | Past and upcoming corporate events: earnings (EPS estimate/actual/surprise) and IPOs. |
299
+ | `get_market_calendars` | Macroeconomic release calendar: indicator releases by country with actual, prior, and originally reported values. |
276
300
 
277
- ### Financial Statements
301
+ ### Analyst & Earnings Data
278
302
 
279
303
  | Tool | Description |
280
304
  |------|-------------|
281
- | `get_financials_general` | Unified financial statements and valuation measures across reporting intervals. |
282
- | `get_financials_income_statement` | Detailed Income Statement: revenue, expenses, net income (annual/quarterly/trailing). |
283
- | `get_financials_balance_sheet` | Balance Sheet: financial position and capital structure snapshot. |
284
- | `get_financials_cash_flow` | Cash Flow Statement: operating, investing, and financing cash flows. |
285
- | `get_financials_valuation_measures` | Valuation Measures: P/E, EV/EBITDA, P/B, and related metrics. |
305
+ | `get_analysis_analysts` | Analyst coverage records per analyst: scores, ratings, sentiment, price targets, and announcement dates. |
306
+ | `get_analysis_earnings` | Earnings and estimate data: EPS actuals, earnings vs. revenue, EPS trends, revisions, and growth metrics. |
307
+ | `get_analysis_recommendations` | Analyst recommendation breakdown over time: Strong Buy, Buy, Hold, Sell, and Strong Sell counts per period. |
308
+ | `get_analysis_upgrades_downgrades` | Analyst rating action feed: upgrades, downgrades, reiterations, and price target changes with from/to grades. |
286
309
 
287
- ### Holders & Ownership
310
+ ### Ownership & Insider Data
288
311
 
289
312
  | Tool | Description |
290
313
  |------|-------------|
@@ -294,23 +317,26 @@ API_TOKEN=your-api-token npx finimpulse-mcp-server
294
317
  | `get_holders_insiders` | Insider transaction records: actions, roles, and reported positions. |
295
318
  | `get_holders_insiders_transactions` | Detailed insider transactions with share counts, values, and filer identity. |
296
319
 
297
- ### Fund Holdings
320
+ ### Financial Statements & Valuation
298
321
 
299
322
  | Tool | Description |
300
323
  |------|-------------|
301
- | `get_holdings_general` | Portfolio composition and holdings-level aggregates: asset allocation, sector exposure. |
302
- | `get_holdings_top_holdings` | Top holdings list with ticker, name, and weight as % of total net assets. |
324
+ | `get_financials_general` | Unified financial statements and valuation measures across reporting intervals. |
325
+ | `get_financials_income_statement` | Detailed Income Statement: revenue, expenses, net income (annual/quarterly/trailing). |
326
+ | `get_financials_balance_sheet` | Balance Sheet: financial position and capital structure snapshot. |
327
+ | `get_financials_cash_flow` | Cash Flow Statement: operating, investing, and financing cash flows. |
328
+ | `get_financials_valuation_measures` | Valuation Measures: P/E, EV/EBITDA, P/B, and related metrics. |
329
+ | `get_metrics` | Dividend data, returns, profitability, growth, leverage, and business quality metrics. Primarily applicable to stocks. |
303
330
 
304
- ### Analyst Coverage & Ratings
331
+ ### Statistics, Performance & Risk
305
332
 
306
333
  | Tool | Description |
307
334
  |------|-------------|
308
- | `get_analysis_analysts` | Analyst coverage records per analyst: scores, ratings, sentiment, price targets, and announcement dates. |
309
- | `get_analysis_earnings` | Earnings and estimate data: EPS actuals, earnings vs. revenue, EPS trends, revisions, and growth metrics. |
310
- | `get_analysis_recommendations` | Analyst recommendation breakdown over time: Strong Buy, Buy, Hold, Sell, and Strong Sell counts per period. |
311
- | `get_analysis_upgrades_downgrades` | Analyst rating action feed: upgrades, downgrades, reiterations, and price target changes with from/to grades. |
335
+ | `get_statistics_general` | Key statistics and performance indicators: valuation, dividends, risk, trailing returns. |
336
+ | `get_statistics_risks` | Risk-adjusted performance metrics (Alpha, Beta, Sharpe, Treynor, R-squared) across 3y/5y/10y horizons. |
337
+ | `get_statistics_annual_returns` | Historical annual total returns by calendar year with quarterly breakdowns. |
312
338
 
313
- ### Options
339
+ ### Options Data
314
340
 
315
341
  | Tool | Description |
316
342
  |------|-------------|
@@ -318,6 +344,21 @@ API_TOKEN=your-api-token npx finimpulse-mcp-server
318
344
  | `get_options_chain` | Full option chain for a given expiration: calls and puts with pricing, bid/ask, volume, open interest, and implied volatility. |
319
345
  | `get_options_contracts` | Single option contract snapshot: pricing, bid/ask, volume, open interest, implied volatility, moneyness, and Greeks. |
320
346
 
347
+ ### ETF & Fund Holdings
348
+
349
+ | Tool | Description |
350
+ |------|-------------|
351
+ | `get_holdings_general` | Portfolio composition and holdings-level aggregates: asset allocation, sector exposure. |
352
+ | `get_holdings_top_holdings` | Top holdings list with ticker, name, and weight as % of total net assets. |
353
+ | `get_holdings_history_dates` | Available historical holdings reporting dates for an ETF. Use before `get_holdings_history`. |
354
+ | `get_holdings_history` | Full ETF holdings composition (shares, weight, market value) on a historical reporting date. |
355
+
356
+ ### Macroeconomic Data
357
+
358
+ | Tool | Description |
359
+ |------|-------------|
360
+ | `get_macro_economics` | Annual country-level macroeconomic indicators (GDP, inflation, rates, trade, government finances). Source: OECD. |
361
+
321
362
  ## Configuration
322
363
 
323
364
  When using the **hosted** server (`https://mcp.finimpulse.com/mcp`) no environment variables are required — your MCP client handles OAuth automatically.
@@ -0,0 +1,4 @@
1
+ export async function eventsTickersHandler(input, client) {
2
+ return client.request('/v1/events/tickers', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/events/tickers/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,KAAyB,EAAE,MAAiB;IACtF,OAAO,MAAM,CAAC,OAAO,CAAwB,oBAAoB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACnF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { eventsTickersInputSchema } from './schema.js';
2
+ import { eventsTickersHandler } from './handler.js';
3
+ export function registerEventsTickersTool(server, client) {
4
+ server.registerTool('get_events_tickers', { description: 'Returns past and upcoming corporate events for ticker symbols: earnings announcements (EPS estimate, actual, surprise) and IPOs (deal status, listing exchange). Fields depend on the event type. Earnings are available up to ~14 months ahead, IPOs ~2-3 weeks ahead; data is updated weekly. Filter by event type, date, or symbol (e.g. filters ["symbol", "=", "AAPL"]). Use to build earnings/IPO calendars or alerts.', inputSchema: eventsTickersInputSchema }, (input) => eventsTickersHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/events/tickers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AAGlD,MAAM,UAAU,yBAAyB,CAAC,MAAiB,EAAE,MAAiB;IAC7E,MAAM,CAAC,YAAY,CAAC,oBAAoB,EAAE,EAAE,WAAW,EAAE,8ZAA8Z,EAAE,WAAW,EAAE,wBAAwB,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACnjB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const eventsTickersInputSchema = z.object({
4
+ event_types: z.array(z.enum(['earnings', 'ipo'])).optional().describe('Types of corporate events to include. Supported values: earnings, ipo. If not specified, events of all types are returned.'),
5
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["symbol", "=", "AAPL"]')),
6
+ sort_by: getSortBySchema('start_date_time', 'By default, results are sorted by start_date_time in descending order, then by symbol in alphabetical order.'),
7
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
8
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
9
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
10
+ });
11
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/events/tickers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpE,4HAA4H,CAC5H;IACD,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,oCAAoC,CAAC,CAC1D;IACD,OAAO,EAAE,eAAe,CAAC,iBAAiB,EAAE,8GAA8G,CAAC;IAC3J,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;IACtI,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/events/tickers/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export async function historiesCurrenciesHandler(input, client) {
2
+ return client.request('/v1/histories/currencies', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/historical/currencies/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,KAA+B,EAAE,MAAiB;IAClG,OAAO,MAAM,CAAC,OAAO,CAA8B,0BAA0B,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AAC/F,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { historiesCurrenciesInputSchema } from './schema.js';
2
+ import { historiesCurrenciesHandler } from './handler.js';
3
+ export function registerHistoriesCurrenciesTool(server, client) {
4
+ server.registerTool('get_histories_currencies', { description: 'Returns historical forex exchange rates (open, high, low, close, adjusted close) for a currency pair, e.g. EUR/USD: how many units of currency_to equal one unit of currency_from. Supports date range, intervals from daily to yearly, filtering, sorting by date and pagination. Covers ~150 currencies, history from 1996, updated daily. For stocks, ETFs, mutual funds and indices use get_histories instead.', inputSchema: historiesCurrenciesInputSchema }, (input) => historiesCurrenciesHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/historical/currencies/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,8BAA8B,EAAC,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AAGxD,MAAM,UAAU,+BAA+B,CAAC,MAAiB,EAAE,MAAiB;IACnF,MAAM,CAAC,YAAY,CAAC,0BAA0B,EAAE,EAAE,WAAW,EAAE,oZAAoZ,EAAE,WAAW,EAAE,8BAA8B,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC3jB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression } from '../../../utils/filters.js';
3
+ export const historiesCurrenciesInputSchema = z.object({
4
+ currency_from: z.string().regex(/^[A-Z]{3}$/).optional().describe('Base currency code (uppercase 3-letter code, e.g., GBP). Required unless search_after_token is provided.'),
5
+ currency_to: z.string().regex(/^[A-Z]{3}$/).optional().describe('Quote currency code (uppercase 3-letter code, e.g., EUR). Required unless search_after_token is provided.'),
6
+ interval: z.enum(['1d', '1wk', '1mo', '3mo', '6mo', '1y']).optional().describe(`Granularity for returned history records. If omitted, daily records (1d) are returned.
7
+ Available values:
8
+ * 1d - 1 day
9
+ * 1wk - 1 week
10
+ * 1mo - 1 month
11
+ * 3mo - 3 months
12
+ * 6mo - 6 months
13
+ * 1y - 1 year`),
14
+ start_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Start of the date range filter (YYYY-MM-DD). If omitted, records are returned from the earliest available date.'),
15
+ end_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('End of the date range filter (YYYY-MM-DD). If omitted, records are returned up to the most recent available date.'),
16
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["close", ">", 1.1]') + '\nFilterable fields: date, open, high, low, close, adj_close.'),
17
+ sort_by: z.array(z.object({
18
+ selector: z.enum(['date']).describe('Field used for sorting. The only supported value is date.'),
19
+ desc: z.boolean().describe('Sorting direction (true for descending, false for ascending).'),
20
+ })).optional().describe('Optional sorting configuration. Records can be sorted by date only: [{"selector": "date", "desc": false}]. By default, records are sorted by date in descending order.'),
21
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
22
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
23
+ search_after_token: z.string().optional().describe('Pagination token. Pass the search_after_token value from the previous response to fetch the next page, together with limit. Other request parameters do not need to be repeated.'),
24
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
25
+ });
26
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/historical/currencies/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AAEpF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChE,0GAA0G,CAC1G;IACD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9D,2GAA2G,CAC3G;IACD,QAA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Q,EAAE,CAAC,QAAQ,CACjD,kLAAkL,CAClL;IACD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/historical/currencies/types.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { historiesInputSchema } from './schema.js';
2
2
  import { historiesHandler } from './handler.js';
3
3
  export function registerHistoriesTool(server, client) {
4
- server.registerTool('get_histories', { description: 'Returns time-series data for an asset in a single unified stream. This endpoint can return historical prices and, optionally, additional history “event” types such as dividends, splits, and capital gains (where available). It is a configurable endpoint that lets you control the date range, interval, included record types, sorting, and page size.', inputSchema: historiesInputSchema }, (input) => historiesHandler(input, client));
4
+ server.registerTool('get_histories', { description: 'Returns time-series data for an asset in a single unified stream. This endpoint can return historical prices and, optionally, additional history “event” types such as dividends, splits, and capital gains (where available). It is a configurable endpoint that lets you control the date range, interval, included record types, sorting, and page size. Each item is a price record for one interval or a single dividend, split, or capital gain event. Also covers indices.', inputSchema: historiesInputSchema }, (input) => historiesHandler(input, client));
5
5
  }
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/historical/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAE9C,MAAM,UAAU,qBAAqB,CAAC,MAAiB,EAAE,MAAiB;IACzE,MAAM,CAAC,YAAY,CAAC,eAAe,EAAE,EAAE,WAAW,EAAE,6VAA6V,EAAE,WAAW,EAAE,oBAAoB,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACre,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/historical/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAE9C,MAAM,UAAU,qBAAqB,CAAC,MAAiB,EAAE,MAAiB;IACzE,MAAM,CAAC,YAAY,CAAC,eAAe,EAAE,EAAE,WAAW,EAAE,mdAAmd,EAAE,WAAW,EAAE,oBAAoB,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC3lB,CAAC"}
@@ -13,22 +13,9 @@ export const historiesInputSchema = z.object({
13
13
  start_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Date range filter (YYYY-MM-DD). Records returned fall within the requested period.'),
14
14
  end_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Date range filter (YYYY-MM-DD). Records returned fall within the requested period.'),
15
15
  sort_by: z.array(z.object({
16
- selector: z.string().describe("Metric used for sorting (e.g., amount_usd)"),
17
- desc: z.boolean().describe("Sorting direction (true for descending, false for ascending)."),
18
- })).optional().describe(`Optional sorting configuration for result items. Each sorting setup is defined as [selector, desc]:
19
-
20
- selector - Metric used for sorting (e.g., date).
21
- desc - Sorting direction (true for descending, false for ascending).
22
- Sortings can be combined using ,.
23
-
24
- Example:
25
-
26
- {
27
- "selector": "date",
28
- "desc": true
29
- }
30
-
31
- `),
16
+ selector: z.enum(['date']).describe('Field used for sorting. The only supported value is date.'),
17
+ desc: z.boolean().describe('Sorting direction (true for descending, false for ascending).'),
18
+ })).optional().describe('Optional sorting configuration. Records can be sorted by date only: [{"selector": "date", "desc": false}]. By default, records are sorted by date in descending order.'),
32
19
  limit: z.number().min(1).max(5000).default(10).optional().describe("Maximum number of matched items returned."),
33
20
  offset: z.number().min(0).optional().describe(`Pagination offset (0-based).`),
34
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/tools/historical/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACvE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAC,WAAW,EAAC,QAAQ,EAAC,eAAe,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,GAAG,IAAI,GAAG,qBAAqB,GAAG,IAAI,GAAG,oBAAoB,GAAG,aAAa,GAAG,UAAU,GAAG,iBAAiB,GAAG,6GAA6G,CAAC;IACjW,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7E;;;;;;;mBAOiB,CACjB;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtE,oFAAoF,CACpF;IACD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpE,oFAAoF,CACpF;IACD,OAAO,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;QACR,QAAQ,EAAE,CAAC,CAAC,MAA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AI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7E;;;;;;;mBAOiB,CACjB;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtE,oFAAoF,CACpF;IACD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpE,oFAAoF,CACpF;IACD,OAAO,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;QACR,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,2DAA2D,CAAC;QAChG,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,+DAA+D,CAAC;KAC3F,CAAC,CACF,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpB,wKAAwK,CACxK;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IAC/G,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,8BAA8B,CAC9B;CACD,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export async function holdingsHistoryHandler(input, client) {
2
+ return client.request('/v1/holdings/history', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,KAA2B,EAAE,MAAiB;IAC1F,OAAO,MAAM,CAAC,OAAO,CAA0B,sBAAsB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACvF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { holdingsHistoryInputSchema } from './schema.js';
2
+ import { holdingsHistoryHandler } from './handler.js';
3
+ export function registerHoldingsHistoryTool(server, client) {
4
+ server.registerTool('get_holdings_history', { description: 'Returns the full holdings composition (asset, name, shares, weight %, market value) of an ETF on a specific historical reporting date. ETFs only; returns an empty result if no data exists for the symbol and date. Use get_holdings_history_dates first to get valid dates. Supports filtering and sorting (e.g. by weight_pct).', inputSchema: holdingsHistoryInputSchema }, (input) => holdingsHistoryHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,0BAA0B,EAAC,MAAM,aAAa,CAAC;AACvD,OAAO,EAAC,sBAAsB,EAAC,MAAM,cAAc,CAAC;AAGpD,MAAM,UAAU,2BAA2B,CAAC,MAAiB,EAAE,MAAiB;IAC/E,MAAM,CAAC,YAAY,CAAC,sBAAsB,EAAE,EAAE,WAAW,EAAE,oUAAoU,EAAE,WAAW,EAAE,0BAA0B,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAsB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/d,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const holdingsHistoryInputSchema = z.object({
4
+ symbol: z.string().min(1).describe('ETF identifier (ticker symbol).'),
5
+ date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).describe('Holdings reporting date (YYYY-MM-DD). Must be a date available for the requested symbol; use get_holdings_history_dates to retrieve valid dates.'),
6
+ limit: z.number().int().min(1).optional().describe('Maximum number of matched records returned.'),
7
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
8
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["weight_pct", ">", 1]')),
9
+ sort_by: getSortBySchema('weight_pct'),
10
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
11
+ });
12
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACrE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CACrD,kJAAkJ,CAClJ;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACjG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,mCAAmC,CAAC,CACzD;IACD,OAAO,EAAE,eAAe,CAAC,YAAY,CAAC;IACtC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export async function holdingsHistoryDatesHandler(input, client) {
2
+ const { symbol, ...body } = input;
3
+ return client.request(`/v1/holdings/history/dates/${encodeURIComponent(symbol)}`, 'POST', body);
4
+ }
5
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history-dates/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAAC,KAAgC,EAAE,MAAiB;IACpG,MAAM,EAAC,MAAM,EAAE,GAAG,IAAI,EAAC,GAAG,KAAK,CAAC;IAChC,OAAO,MAAM,CAAC,OAAO,CAA+B,8BAA8B,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;AAC/H,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { holdingsHistoryDatesInputSchema } from './schema.js';
2
+ import { holdingsHistoryDatesHandler } from './handler.js';
3
+ export function registerHoldingsHistoryDatesTool(server, client) {
4
+ server.registerTool('get_holdings_history_dates', { description: 'Returns the list of available historical holdings reporting dates for an ETF. ETFs only (stocks and mutual funds are not supported); returns an empty result if no data exists. Call this first to get a valid date, then pass it to get_holdings_history.', inputSchema: holdingsHistoryDatesInputSchema }, (input) => holdingsHistoryDatesHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history-dates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,+BAA+B,EAAC,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAC,2BAA2B,EAAC,MAAM,cAAc,CAAC;AAGzD,MAAM,UAAU,gCAAgC,CAAC,MAAiB,EAAE,MAAiB;IACpF,MAAM,CAAC,YAAY,CAAC,4BAA4B,EAAE,EAAE,WAAW,EAAE,4PAA4P,EAAE,WAAW,EAAE,+BAA+B,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACva,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export const holdingsHistoryDatesInputSchema = z.object({
3
+ symbol: z.string().min(1).describe('ETF identifier (ticker symbol).'),
4
+ start_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Start of the date range filter (YYYY-MM-DD). Only dates on and after this value are returned. Coverage begins on 2026-01-01 for most ETFs (~500 ETFs go back to 2023-2025).'),
5
+ limit: z.number().int().min(1).optional().describe('Maximum number of matched records returned.'),
6
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
7
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
8
+ });
9
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history-dates/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACrE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtE,6KAA6K,CAC7K;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACjG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/holdings/history-dates/types.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  import { registerSearchTool } from './search/index.js';
2
2
  import { registerSearchLiteTool } from './search-lite/index.js';
3
3
  import { registerHistoriesTool } from './historical/index.js';
4
+ import { registerHistoriesCurrenciesTool } from './historical/currencies/index.js';
4
5
  import { registerSummaryTool } from './summary/index.js';
5
6
  import { registerSummaryLiteTool } from './summary-lite/index.js';
6
7
  import { registerProfileTool } from './profile/index.js';
@@ -29,10 +30,19 @@ import { registerHoldingsTopHoldingsTool } from './holdings/top-holdings/index.j
29
30
  import { registerOptionsChainTool } from './options/chain/index.js';
30
31
  import { registerOptionsContractsTool } from './options/contracts/index.js';
31
32
  import { registerOptionsExpirationsTool } from './options/expirations/index.js';
33
+ import { registerHoldingsHistoryTool } from './holdings/history/index.js';
34
+ import { registerHoldingsHistoryDatesTool } from './holdings/history-dates/index.js';
35
+ import { registerEventsTickersTool } from './events/tickers/index.js';
36
+ import { registerMacroEconomicsTool } from './macro-economics/index.js';
37
+ import { registerMarketCalendarsTool } from './market/calendars/index.js';
38
+ import { registerMarketIndexTool } from './market/index/index.js';
39
+ import { registerSecFilingsEventsTool } from './sec-filings/events/index.js';
40
+ import { registerSecFilingsInsiderTransactionsTool } from './sec-filings/insider-transactions/index.js';
32
41
  export function registerAllTools(server, client) {
33
42
  registerSearchTool(server, client);
34
43
  registerSearchLiteTool(server, client);
35
44
  registerHistoriesTool(server, client);
45
+ registerHistoriesCurrenciesTool(server, client);
36
46
  registerSummaryTool(server, client);
37
47
  registerSummaryLiteTool(server, client);
38
48
  registerProfileTool(server, client);
@@ -58,8 +68,16 @@ export function registerAllTools(server, client) {
58
68
  registerStatisticsAnnualReturnsTool(server, client);
59
69
  registerHoldingsGeneralTool(server, client);
60
70
  registerHoldingsTopHoldingsTool(server, client);
71
+ registerHoldingsHistoryDatesTool(server, client);
72
+ registerHoldingsHistoryTool(server, client);
61
73
  registerOptionsChainTool(server, client);
62
74
  registerOptionsContractsTool(server, client);
63
75
  registerOptionsExpirationsTool(server, client);
76
+ registerEventsTickersTool(server, client);
77
+ registerMacroEconomicsTool(server, client);
78
+ registerMarketCalendarsTool(server, client);
79
+ registerMarketIndexTool(server, client);
80
+ registerSecFilingsEventsTool(server, client);
81
+ registerSecFilingsInsiderTransactionsTool(server, client);
64
82
  }
65
83
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,sBAAsB,EAAC,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBA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IACxD,6BAA6B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,qCAAqC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtD,kCAAkC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnD,8BAA8B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,uCAAuC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxD,6BAA6B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,2BAA2B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,mCAAmC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpD,2BAA2B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,+BAA+B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,gCAAgC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,2BAA2B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,4BAA4B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,8BAA8B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,yBAAyB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,0BAA0B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,2BAA2B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,uBAAuB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,4BAA4B,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,yCAAyC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC3D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export async function macroEconomicsHandler(input, client) {
2
+ return client.request('/v1/macro-economics', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/tools/macro-economics/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,KAA0B,EAAE,MAAiB;IACxF,OAAO,MAAM,CAAC,OAAO,CAAyB,qBAAqB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACrF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { macroEconomicsInputSchema } from './schema.js';
2
+ import { macroEconomicsHandler } from './handler.js';
3
+ export function registerMacroEconomicsTool(server, client) {
4
+ server.registerTool('get_macro_economics', { description: 'Returns annual macroeconomic indicators by country (50+ countries, 1970 to current year; current-year values are forecasts): GDP, inflation, unemployment, interest rates, trade, government finances, consumption. One record per country per year with 38 indicators. Updated quarterly. Filter by country_iso3 and year. Source: OECD Data Explorer; use and redistribution are subject to the OECD Terms and Conditions, including source attribution.', inputSchema: macroEconomicsInputSchema }, (input) => macroEconomicsHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/macro-economics/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,yBAAyB,EAAC,MAAM,aAAa,CAAC;AACtD,OAAO,EAAC,qBAAqB,EAAC,MAAM,cAAc,CAAC;AAGnD,MAAM,UAAU,0BAA0B,CAAC,MAAiB,EAAE,MAAiB;IAC9E,MAAM,CAAC,YAAY,CAAC,qBAAqB,EAAE,EAAE,WAAW,EAAE,4bAA4b,EAAE,WAAW,EAAE,yBAAyB,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACplB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../utils/filters.js';
3
+ export const macroEconomicsInputSchema = z.object({
4
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["country_iso3", "=", "CHE"]') + '\nFilterable fields include country_iso3 (ISO 3166-1 alpha-3) and year.'),
5
+ sort_by: getSortBySchema('year'),
6
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
7
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
8
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
9
+ });
10
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/tools/macro-economics/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,wBAAwB,CAAC;AAElG,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,yEAAyE,CAC3I;IACD,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;IACtI,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tools/macro-economics/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export async function marketCalendarsHandler(input, client) {
2
+ return client.request('/v1/market/calendars', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/market/calendars/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,KAA2B,EAAE,MAAiB;IAC1F,OAAO,MAAM,CAAC,OAAO,CAA0B,sBAAsB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACvF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { marketCalendarsInputSchema } from './schema.js';
2
+ import { marketCalendarsHandler } from './handler.js';
3
+ export function registerMarketCalendarsTool(server, client) {
4
+ server.registerTool('get_market_calendars', { description: 'Returns the macroeconomic release calendar: scheduled data releases (e.g. Unemployment Rate, CPI, Retail Sales) for 71 countries and the euro area, covering recent releases and roughly the next 30 days. Each record has the release time, reference period, and actual, prior and originally reported values (after_release_actual is null until published). Updated weekly. Filter by country, date or indicator.', inputSchema: marketCalendarsInputSchema }, (input) => marketCalendarsHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/market/calendars/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,0BAA0B,EAAC,MAAM,aAAa,CAAC;AACvD,OAAO,EAAC,sBAAsB,EAAC,MAAM,cAAc,CAAC;AAGpD,MAAM,UAAU,2BAA2B,CAAC,MAAiB,EAAE,MAAiB;IAC/E,MAAM,CAAC,YAAY,CAAC,sBAAsB,EAAE,EAAE,WAAW,EAAE,uZAAuZ,EAAE,WAAW,EAAE,0BAA0B,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAsB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACljB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const marketCalendarsInputSchema = z.object({
4
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["country_code_iso3", "=", "USA"]') + '\nFilterable fields include country_code_iso3, economic_release, start_date_time and period.'),
5
+ sort_by: getSortBySchema('start_date_time', 'By default, results are sorted by start_date_time in descending order, then by economic_release in alphabetical order.'),
6
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
7
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
8
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
9
+ });
10
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/market/calendars/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,8FAA8F,CACrK;IACD,OAAO,EAAE,eAAe,CAAC,iBAAiB,EAAE,wHAAwH,CAAC;IACrK,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;IACtI,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/market/calendars/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export async function marketIndexHandler(input, client) {
2
+ return client.request('/v1/market/index', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/market/index/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,KAAuB,EAAE,MAAiB;IAClF,OAAO,MAAM,CAAC,OAAO,CAAsB,kBAAkB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AAC/E,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { marketIndexInputSchema } from './schema.js';
2
+ import { marketIndexHandler } from './handler.js';
3
+ export function registerMarketIndexTool(server, client) {
4
+ server.registerTool('get_market_index', { description: 'Searches ~39,000 global market indices (e.g. S&P 500, Dow Jones, Nasdaq Composite, VIX, Treasury yield indices) and returns latest closing price, daily change, 52-week range and one-year return. Updated every 24 hours; no intraday prices. Use select_identifiers to reduce response size. For historical index prices use get_histories.', inputSchema: marketIndexInputSchema }, (input) => marketIndexHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/market/index/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC;AACnD,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAGhD,MAAM,UAAU,uBAAuB,CAAC,MAAiB,EAAE,MAAiB;IAC3E,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,+UAA+U,EAAE,WAAW,EAAE,sBAAsB,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC9d,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const marketIndexInputSchema = z.object({
4
+ search_text: z.string().optional().describe('Free-text query (e.g., "GSPC.INDX", "S&P 500", partial symbol, partial name).'),
5
+ select_identifiers: z.array(z.string()).optional().describe('A list of field names to include in the response. When provided, each item contains only the specified fields. When not provided or null, the full field set is returned. "symbol" and "logo" are always returned regardless of the value passed.'),
6
+ symbols: z.array(z.string()).optional().describe('A list of index symbols to retrieve (e.g., GSPC.INDX, DJI.INDX, 000001.SS). When provided, only the specified indices are returned. Symbols that do not exist are excluded; if none are found the result is empty.'),
7
+ show_tickers_without_company_name: z.boolean().optional().describe('Include indices without a name. true - include indices without a name; false - exclude them.'),
8
+ hide_tickers_with_company_name: z.boolean().optional().describe('Exclude indices with a name. true - exclude indices with a name; false - include them.'),
9
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["regular_market_price_change_percent", ">", 1]')),
10
+ sort_by: getSortBySchema('regular_market_price_change_percent'),
11
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
12
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
13
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
14
+ });
15
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/market/index/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+EAA+E,CAAC;IAC5H,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1D,mPAAmP,CACnP;IACD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/C,oNAAoN,CACpN;IACD,iCAAiC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8FAA8F,CAAC;IAClK,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wFAAwF,CAAC;IACzJ,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,4DAA4D,CAAC,CAClF;IACD,OAAO,EAAE,eAAe,CAAC,qCAAqC,CAAC;IAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;IACtI,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/market/index/types.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { newsInputSchema } from './schema.js';
2
2
  import { newsHandler } from './handler.js';
3
3
  export function registerNewsTool(server, client) {
4
- server.registerTool('get_news', { description: 'Returns the latest news and press releases for financial assets. This endpoint aggregates news and press releases for stocks, ETFs, and mutual funds. Each item includes a headline, brief description, publication date, list of related tickers, and provider information.', inputSchema: newsInputSchema }, (input) => newsHandler(input, client));
4
+ server.registerTool('get_news', { description: 'Returns news articles and press releases for one asset symbol (stock, ETF, mutual fund, or index): headline, short description, publication date, related tickers, provider, and link to the source. News may appear with a delay of up to 3 days. If no news matches the request, the API returns status code 40400 (Not Found), which is expected and not an error.', inputSchema: newsInputSchema }, (input) => newsHandler(input, client));
5
5
  }
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/news/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAGzC,MAAM,UAAU,gBAAgB,CAAC,MAAiB,EAAE,MAAiB;IACpE,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,WAAW,EAAE,8QAA8Q,EAAE,WAAW,EAAE,eAAe,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AACvY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/news/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAGzC,MAAM,UAAU,gBAAgB,CAAC,MAAiB,EAAE,MAAiB;IACpE,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,WAAW,EAAE,uWAAuW,EAAE,WAAW,EAAE,eAAe,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAChe,CAAC"}
@@ -1,51 +1,13 @@
1
1
  import { z } from 'zod';
2
- import { getFilterExpression } from '../../utils/filters.js';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../utils/filters.js';
3
3
  export const newsInputSchema = z.object({
4
4
  symbol: z.string().describe('Asset identifier (ticker symbol).'),
5
- types: z.array(z.enum(['news', 'press_release'])).optional().describe('News types to include. Supported values: news, press_release. If none are provided, all supported types are returned.'),
6
- start_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Date range filter (YYYY-MM-DD).'),
7
- end_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Date range filter (YYYY-MM-DD).'),
8
- limit: z.number().min(1).max(5000).default(10).optional().describe('Maximum number of items to return.'),
9
- offset: z.number().min(0).optional().describe('Pagination offset (0-based).'),
10
- filters: getFilterExpression().optional().describe(`Optional filter expressions.
11
- Each filter condition is defined as: [field, operator, value]. Conditions can be combined using logical operators and/or.
12
-
13
- Supported operators:
14
-
15
- String fields:
16
-
17
- like – pattern match (requires % as a wildcard)
18
- not_like - pattern does not match (requires % as a wildcard)
19
- contains - value exists in string
20
- not_contains - value does not exist in string
21
- startswith - string starts with value
22
- endswith - string ends with value
23
- % usage examples:
24
-
25
- %abc% - matches any string containing "abc"
26
- abc% - matches any string starting with "abc"
27
- %abc - matches any string ending with "abc"
28
- Example:
29
-
30
- "filters": [
31
- "title", "<>", null
32
- ]`),
33
- sort_by: z.array(z.object({
34
- selector: z.string().describe('Metric used for sorting (e.g., pub_date)'),
35
- desc: z.boolean().describe('Sorting direction (true for descending, false for ascending).'),
36
- })).optional().describe(`Optional sorting configuration for result items. Each sorting setup is defined as [selector, desc]:
37
-
38
- selector - Metric used for sorting (e.g., pub_date).
39
- desc - Sorting direction (true for descending, false for ascending).
40
- Sortings can be combined using ,.
41
-
42
- Example:
43
-
44
- {
45
- "selector": "pub_date",
46
- "desc": true
47
- }
48
-
49
- `),
5
+ types: z.array(z.enum(['news', 'press_release'])).optional().describe('News types to include. Supported values: news, press_release. If no values are provided, all supported types are returned.'),
6
+ start_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Start of the date range filter (YYYY-MM-DD). If omitted, news from the earliest available date is returned.'),
7
+ end_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('End of the date range filter (YYYY-MM-DD). If omitted, news up to the most recent available date is returned.'),
8
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["title", "contains", "Buyback"]')),
9
+ sort_by: getSortBySchema('pub_date'),
10
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
11
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
50
12
  });
51
13
  //# sourceMappingURL=schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/tools/news/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAE3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,MAA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+1,4 @@
1
+ export async function secFilingsEventsHandler(input, client) {
2
+ return client.request('/v1/sec-filings/events', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/events/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,KAA4B,EAAE,MAAiB;IAC5F,OAAO,MAAM,CAAC,OAAO,CAA2B,wBAAwB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AAC1F,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { secFilingsEventsInputSchema } from './schema.js';
2
+ import { secFilingsEventsHandler } from './handler.js';
3
+ export function registerSecFilingsEventsTool(server, client) {
4
+ server.registerTool('get_sec_filings_events', { description: 'Returns SEC filing events for an asset (stocks, ETFs, mutual funds): filing date, form type (10-K, 8-K, ...), accession number, document metadata and source URL. Query by symbol or cik, optionally limited by filing date range. Covers ~8,000 tickers, refreshed every 7 days. Use to build filing histories or monitor new material filings (e.g. 8-K).', inputSchema: secFilingsEventsInputSchema }, (input) => secFilingsEventsHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/events/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,2BAA2B,EAAC,MAAM,aAAa,CAAC;AACxD,OAAO,EAAC,uBAAuB,EAAC,MAAM,cAAc,CAAC;AAGrD,MAAM,UAAU,4BAA4B,CAAC,MAAiB,EAAE,MAAiB;IAChF,MAAM,CAAC,YAAY,CAAC,wBAAwB,EAAE,EAAE,WAAW,EAAE,6VAA6V,EAAE,WAAW,EAAE,2BAA2B,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC5f,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const secFilingsEventsInputSchema = z.object({
4
+ symbol: z.string().min(1).optional().describe('Asset identifier (ticker symbol).'),
5
+ cik: z.string().optional().describe('Central Index Key (CIK).'),
6
+ start_filing_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('Start of the filing date range filter (YYYY-MM-DD). Minimum supported date is 1990-01-01.'),
7
+ end_filing_date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional().describe('End of the filing date range filter (YYYY-MM-DD). Minimum supported date is 1990-01-01.'),
8
+ limit: z.number().int().min(1).optional().describe('Maximum number of matched items returned.'),
9
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
10
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["form", "=", "8-K"]') + '\nSupported on all fields except file_url.'),
11
+ sort_by: getSortBySchema('cik', 'Results are sorted by filing_date in descending order by default.'),
12
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
13
+ });
14
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/events/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAClF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IAC/D,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7E,2FAA2F,CAC3F;IACD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3E,yFAAyF,CACzF;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IAC/F,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,iCAAiC,CAAC,GAAG,4CAA4C,CACtG;IACD,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,mEAAmE,CAAC;IACpG,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/events/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export async function secFilingsInsiderTransactionsHandler(input, client) {
2
+ return client.request('/v1/sec-filings/insider-transactions', 'POST', input);
3
+ }
4
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/insider-transactions/handler.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,KAAK,UAAU,oCAAoC,CAAC,KAAyC,EAAE,MAAiB;IACtH,OAAO,MAAM,CAAC,OAAO,CAAwC,sCAAsC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACrH,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { secFilingsInsiderTransactionsInputSchema } from './schema.js';
2
+ import { secFilingsInsiderTransactionsHandler } from './handler.js';
3
+ export function registerSecFilingsInsiderTransactionsTool(server, client) {
4
+ server.registerTool('get_sec_filings_insider_transactions', { description: 'Returns record-level data from a single SEC Form 4 / Form 4/A filing for a stock: non-derivative and derivative transactions and holdings with SEC transaction codes, shares owned after the transaction, direct/indirect ownership, footnotes and the link to the original SEC document. Requires accession_number plus symbol or cik: first call get_sec_filings_events and filter by form (4, 4/A) to get them. One request covers one filing; for a simplified insider transaction history across filings use get_holders_insiders_transactions.', inputSchema: secFilingsInsiderTransactionsInputSchema }, (input) => secFilingsInsiderTransactionsHandler(input, client));
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/insider-transactions/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,wCAAwC,EAAC,MAAM,aAAa,CAAC;AACrE,OAAO,EAAC,oCAAoC,EAAC,MAAM,cAAc,CAAC;AAGlE,MAAM,UAAU,yCAAyC,CAAC,MAAiB,EAAE,MAAiB;IAC7F,MAAM,CAAC,YAAY,CAAC,sCAAsC,EAAE,EAAE,WAAW,EAAE,shBAAshB,EAAE,WAAW,EAAE,wCAAwC,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC7tB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ import { getFilterDescription, getFilterExpression, getSortBySchema } from '../../../utils/filters.js';
3
+ export const secFilingsInsiderTransactionsInputSchema = z.object({
4
+ symbol: z.string().min(1).optional().describe('Asset identifier (ticker symbol). Required if cik is not provided. Takes priority when both are specified.'),
5
+ cik: z.string().optional().describe('Central Index Key (CIK) of the company, up to 10 digits. Required if symbol is not provided.'),
6
+ accession_number: z.string().min(1).describe('Unique SEC accession number of the Form 4 or Form 4/A filing. Get it (with symbol and cik) from get_sec_filings_events filtered by form.'),
7
+ transaction_types: z.array(z.enum(['non_derivative_transaction', 'derivative_transaction', 'non_derivative_holding', 'derivative_holding', 'unknown'])).optional().describe('Record types to return. Any combination of: non_derivative_transaction, derivative_transaction, non_derivative_holding, derivative_holding, unknown. If omitted, all types are returned.'),
8
+ filters: getFilterExpression().optional().describe(getFilterDescription('"filters": ["transaction_code", "=", "S"]') + '\nSupported on all fields except owner_relationship and transaction_type (use transaction_types instead).'),
9
+ sort_by: getSortBySchema('transaction_date', 'Results are sorted by transaction_type in ascending order by default.'),
10
+ limit: z.number().int().min(1).max(1000).optional().describe('Maximum number of matched items returned. Default: 100, maximum: 1000.'),
11
+ offset: z.number().int().min(0).optional().describe('Pagination offset (0-based).'),
12
+ tag: z.string().max(255).optional().describe('User-defined request identifier (max 255 characters). Returned in the response; does not affect processing.'),
13
+ });
14
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/insider-transactions/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAErG,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,4GAA4G,CAC5G;IACD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8FAA8F,CAAC;IACnI,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC3C,0IAA0I,CAC1I;IACD,iBAAiB,EAAE,CAAC,CAAC,KAAK,CACzB,CAAC,CAAC,IAAI,CAAC,CAAC,4BAA4B,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAC3H,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpB,0LAA0L,CAC1L;IACD,OAAO,EAAE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,2GAA2G,CAC/K;IACD,OAAO,EAAE,eAAe,CAAC,kBAAkB,EAAE,uEAAuE,CAAC;IACrH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wEAAwE,CAAC;IACtI,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACnF,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6GAA6G,CAAC;CAC3J,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tools/sec-filings/insider-transactions/types.ts"],"names":[],"mappings":""}
@@ -8,4 +8,33 @@ export function getFilterExpression() {
8
8
  }
9
9
  return z.array(z.union([z.array(z.union([z.string(), z.number(), z.boolean()])).length(3), z.enum(["and", "or"]), z.array(z.unknown()).length(3), z.union([z.string(), z.number(), z.unknown()]), z.any()])).max(3);
10
10
  }
11
+ /**
12
+ * Description of the `filters` parameter for endpoints that support the extended operator set
13
+ * (`=`, `<>`, `>`, `>=`, `<`, `<=`, `in` and string operators, combined with and/or/not).
14
+ */
15
+ export function getFilterDescription(example) {
16
+ return [
17
+ 'Optional filter expressions. Each filter condition is defined as [field, operator, value]. Conditions can be combined using the logical operators and, or, and not.',
18
+ '',
19
+ 'Supported operators:',
20
+ 'Any field type (numbers, strings, booleans, dates): = (equals), <> (not equal)',
21
+ 'Numbers and dates: > (greater than), >= (greater than or equal), < (less than), <= (less than or equal)',
22
+ 'List of values: in (matches any value in the list, e.g. ["field", "in", ["value_1", "value_2"]])',
23
+ 'Strings: like (pattern match, requires % as a wildcard), not_like (pattern does not match), contains (value exists in string), not_contains (value does not exist in string), startswith, endswith',
24
+ '',
25
+ '% usage examples: %abc% - contains "abc"; abc% - starts with "abc"; %abc - ends with "abc".',
26
+ 'String operators are case-sensitive. Dates are compared as text, so pass date values in the same format as the field returns them. Fields that contain arrays cannot be filtered.',
27
+ '',
28
+ `Example: ${example}`,
29
+ ].join('\n');
30
+ }
31
+ /**
32
+ * Zod schema of the `sort_by` parameter: a list of `{selector, desc}` objects.
33
+ */
34
+ export function getSortBySchema(selectorExample, defaultOrder) {
35
+ return z.array(z.object({
36
+ selector: z.string().describe(`Field used for sorting (e.g., ${selectorExample}).`),
37
+ desc: z.boolean().describe('Sorting direction (true for descending, false for ascending).'),
38
+ })).optional().describe(`Optional sorting configuration. Each sorting setup is an object {selector, desc}; multiple setups can be combined in the array.${defaultOrder ? ' ' + defaultOrder : ''}`);
39
+ }
11
40
  //# sourceMappingURL=filters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters.js","sourceRoot":"","sources":["../../src/utils/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC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AAQ,CACpB,kIAAkI,YAAY,CAAC,CAAC,CAAC,GAAG,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CAC1K,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "finimpulse-mcp-server",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "description": "MCP server for FinImpulse financial market data API",
5
5
  "main": "build/index.js",
6
6
  "type": "module",