@houtini/fmp-mcp 1.0.1 → 1.1.0

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Financial Modeling Prep MCP Server
2
2
 
3
- Model Context Protocol (MCP) server providing access to Financial Modeling Prep's comprehensive financial data API. Get real-time stock quotes, company fundamentals, financial statements, and market news directly in Claude Desktop.
3
+ Model Context Protocol (MCP) server providing access to Financial Modeling Prep's comprehensive financial data API. Get real-time stock quotes, company fundamentals, financial statements, market insights, analyst data, and technical indicators directly in Claude Desktop.
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/@houtini%2Ffmp-mcp.svg)](https://badge.fury.io/js/@houtini%2Ffmp-mcp)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -10,8 +10,13 @@ Model Context Protocol (MCP) server providing access to Financial Modeling Prep'
10
10
  - **Real-time Market Data**: Live stock quotes with price, volume, and market metrics
11
11
  - **Company Information**: Detailed profiles including industry, sector, and key executives
12
12
  - **Financial Statements**: Income statements, balance sheets, and cash flow statements
13
+ - **Market Performance**: Track gainers, losers, most active stocks, and sector performance
14
+ - **Analyst Data**: Price targets, estimates, ratings, and upgrades/downgrades
15
+ - **Insider Trading**: Monitor insider transactions and institutional holdings
16
+ - **Technical Indicators**: RSI, SMA, EMA with multiple timeframes
17
+ - **Economic Data**: GDP, unemployment, inflation, treasury rates, and economic calendar
18
+ - **Historical Charts**: Intraday data from 1-minute to 4-hour intervals
13
19
  - **Symbol Search**: Find companies by name or ticker across global exchanges
14
- - **Stock News**: Latest news articles and market sentiment for specific symbols
15
20
 
16
21
  ## Installation
17
22
 
@@ -51,7 +56,9 @@ Replace `your_api_key_here` with your actual API key from Financial Modeling Pre
51
56
 
52
57
  ## Available Tools
53
58
 
54
- ### `get_quote`
59
+ ### Core Market Data
60
+
61
+ #### `get_quote`
55
62
  Get real-time stock quote data.
56
63
 
57
64
  **Parameters:**
@@ -59,7 +66,7 @@ Get real-time stock quote data.
59
66
 
60
67
  **Returns:** Current price, volume, market cap, P/E ratio, day high/low, and more.
61
68
 
62
- ### `search_symbol`
69
+ #### `search_symbol`
63
70
  Search for stock symbols by company name or ticker.
64
71
 
65
72
  **Parameters:**
@@ -67,7 +74,9 @@ Search for stock symbols by company name or ticker.
67
74
 
68
75
  **Returns:** Matching symbols with company names and exchange information.
69
76
 
70
- ### `get_company_profile`
77
+ ### Company Fundamentals
78
+
79
+ #### `get_company_profile`
71
80
  Get detailed company profile and fundamental data.
72
81
 
73
82
  **Parameters:**
@@ -75,7 +84,7 @@ Get detailed company profile and fundamental data.
75
84
 
76
85
  **Returns:** Company description, industry, sector, CEO, employee count, headquarters, website, and key financial metrics.
77
86
 
78
- ### `get_income_statement`
87
+ #### `get_income_statement`
79
88
  Retrieve company income statement data.
80
89
 
81
90
  **Parameters:**
@@ -85,7 +94,7 @@ Retrieve company income statement data.
85
94
 
86
95
  **Returns:** Revenue, expenses, net income, EPS, and other profitability metrics.
87
96
 
88
- ### `get_balance_sheet`
97
+ #### `get_balance_sheet`
89
98
  Retrieve company balance sheet data.
90
99
 
91
100
  **Parameters:**
@@ -95,7 +104,7 @@ Retrieve company balance sheet data.
95
104
 
96
105
  **Returns:** Assets, liabilities, shareholder equity, and detailed line items.
97
106
 
98
- ### `get_cash_flow`
107
+ #### `get_cash_flow`
99
108
  Retrieve company cash flow statement data.
100
109
 
101
110
  **Parameters:**
@@ -105,7 +114,194 @@ Retrieve company cash flow statement data.
105
114
 
106
115
  **Returns:** Operating cash flow, investing activities, financing activities, and free cash flow.
107
116
 
108
- ### `get_stock_news`
117
+ #### `get_key_metrics`
118
+ Get key financial metrics and ratios.
119
+
120
+ **Parameters:**
121
+ - `symbol` (required): Stock ticker symbol
122
+ - `period` (optional): "annual" or "quarter" (default: "annual")
123
+ - `limit` (optional): Number of periods to return (default: 5)
124
+
125
+ **Returns:** P/E ratio, ROE, ROA, debt ratios, current ratio, and more.
126
+
127
+ #### `get_financial_ratios`
128
+ Get detailed financial ratios (profitability, liquidity, efficiency).
129
+
130
+ **Parameters:**
131
+ - `symbol` (required): Stock ticker symbol
132
+ - `period` (optional): "annual" or "quarter" (default: "annual")
133
+ - `limit` (optional): Number of periods to return (default: 5)
134
+
135
+ **Returns:** Comprehensive ratio analysis including profitability, liquidity, and efficiency metrics.
136
+
137
+ ### Market Performance
138
+
139
+ #### `get_market_gainers`
140
+ Get stocks with the largest price increases.
141
+
142
+ **Parameters:** None
143
+
144
+ **Returns:** Top gaining stocks with price changes and volume.
145
+
146
+ #### `get_market_losers`
147
+ Get stocks with the largest price drops.
148
+
149
+ **Parameters:** None
150
+
151
+ **Returns:** Top losing stocks with price changes and volume.
152
+
153
+ #### `get_most_active`
154
+ Get most actively traded stocks by volume.
155
+
156
+ **Parameters:** None
157
+
158
+ **Returns:** Stocks with highest trading volume.
159
+
160
+ #### `get_sector_performance`
161
+ Get current sector performance snapshot.
162
+
163
+ **Parameters:**
164
+ - `date` (optional): Date in YYYY-MM-DD format (defaults to latest)
165
+
166
+ **Returns:** Performance metrics for all market sectors.
167
+
168
+ ### Analyst Data
169
+
170
+ #### `get_analyst_estimates`
171
+ Get analyst financial estimates (revenue, EPS forecasts).
172
+
173
+ **Parameters:**
174
+ - `symbol` (required): Stock ticker symbol
175
+ - `period` (optional): "annual" or "quarter" (default: "annual")
176
+ - `limit` (optional): Number of periods to return (default: 10)
177
+
178
+ **Returns:** Analyst revenue and earnings estimates with consensus figures.
179
+
180
+ #### `get_price_target`
181
+ Get analyst price target summary.
182
+
183
+ **Parameters:**
184
+ - `symbol` (required): Stock ticker symbol
185
+
186
+ **Returns:** Average, high, low, and median price targets from analysts.
187
+
188
+ #### `get_analyst_ratings`
189
+ Get analyst ratings and upgrades/downgrades.
190
+
191
+ **Parameters:**
192
+ - `symbol` (required): Stock ticker symbol
193
+
194
+ **Returns:** Recent analyst rating changes, upgrades, downgrades, and recommendations.
195
+
196
+ ### Insider Trading & Institutional
197
+
198
+ #### `get_insider_trading`
199
+ Get recent insider trading activity.
200
+
201
+ **Parameters:**
202
+ - `symbol` (required): Stock ticker symbol
203
+ - `limit` (optional): Number of transactions to return (default: 100)
204
+
205
+ **Returns:** Insider buy/sell transactions with names, dates, and amounts.
206
+
207
+ #### `get_institutional_holders`
208
+ Get institutional ownership (13F filings).
209
+
210
+ **Parameters:**
211
+ - `symbol` (required): Stock ticker symbol
212
+ - `limit` (optional): Number of holders to return (default: 100)
213
+
214
+ **Returns:** Top institutional holders with share counts and filing dates.
215
+
216
+ ### Technical Indicators
217
+
218
+ #### `get_technical_indicator_rsi`
219
+ Get Relative Strength Index (RSI).
220
+
221
+ **Parameters:**
222
+ - `symbol` (required): Stock ticker symbol
223
+ - `timeframe` (required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"
224
+ - `period` (optional): Period length (default: 14)
225
+
226
+ **Returns:** RSI values with timestamps for momentum analysis.
227
+
228
+ #### `get_technical_indicator_sma`
229
+ Get Simple Moving Average (SMA).
230
+
231
+ **Parameters:**
232
+ - `symbol` (required): Stock ticker symbol
233
+ - `timeframe` (required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"
234
+ - `period` (optional): Period length (default: 10)
235
+
236
+ **Returns:** SMA values with timestamps for trend analysis.
237
+
238
+ #### `get_technical_indicator_ema`
239
+ Get Exponential Moving Average (EMA).
240
+
241
+ **Parameters:**
242
+ - `symbol` (required): Stock ticker symbol
243
+ - `timeframe` (required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"
244
+ - `period` (optional): Period length (default: 10)
245
+
246
+ **Returns:** EMA values with timestamps for trend analysis.
247
+
248
+ ### Historical Data
249
+
250
+ #### `get_historical_chart`
251
+ Get historical price data with flexible time intervals.
252
+
253
+ **Parameters:**
254
+ - `symbol` (required): Stock ticker symbol
255
+ - `interval` (required): "1min", "5min", "15min", "30min", "1hour", "4hour"
256
+ - `from` (optional): Start date in YYYY-MM-DD format
257
+ - `to` (optional): End date in YYYY-MM-DD format
258
+
259
+ **Returns:** OHLC price data with volume for the specified interval.
260
+
261
+ ### Economic Data
262
+
263
+ #### `get_economic_calendar`
264
+ Get upcoming economic data releases calendar.
265
+
266
+ **Parameters:**
267
+ - `from` (optional): Start date in YYYY-MM-DD format
268
+ - `to` (optional): End date in YYYY-MM-DD format
269
+
270
+ **Returns:** Scheduled economic announcements with dates and expected impact.
271
+
272
+ #### `get_economic_indicator`
273
+ Get economic indicator data (GDP, unemployment, inflation, etc.).
274
+
275
+ **Parameters:**
276
+ - `name` (required): Indicator name (e.g., "GDP", "unemploymentRate", "CPI")
277
+ - `from` (optional): Start date in YYYY-MM-DD format
278
+ - `to` (optional): End date in YYYY-MM-DD format
279
+
280
+ **Returns:** Historical values for the specified economic indicator.
281
+
282
+ ### Events & Calendars
283
+
284
+ #### `get_earnings_calendar`
285
+ Get upcoming earnings announcements calendar.
286
+
287
+ **Parameters:**
288
+ - `from` (optional): Start date in YYYY-MM-DD format
289
+ - `to` (optional): End date in YYYY-MM-DD format
290
+
291
+ **Returns:** Upcoming earnings dates with EPS estimates.
292
+
293
+ ### Index Data
294
+
295
+ #### `get_sp500_constituents`
296
+ Get list of S&P 500 index constituents.
297
+
298
+ **Parameters:** None
299
+
300
+ **Returns:** All companies in the S&P 500 with symbols and details.
301
+
302
+ ### News (Paid Feature)
303
+
304
+ #### `get_stock_news`
109
305
  Get latest news articles for a stock.
110
306
 
111
307
  **Parameters:**
@@ -114,6 +310,8 @@ Get latest news articles for a stock.
114
310
 
115
311
  **Returns:** News headlines, publication dates, URLs, and article summaries.
116
312
 
313
+ **Note:** This endpoint requires a paid FMP plan.
314
+
117
315
  ## Usage Examples
118
316
 
119
317
  Once installed, you can interact with the MCP server directly through Claude Desktop:
@@ -127,15 +325,31 @@ Show me Tesla's quarterly income statements for the last 8 quarters
127
325
  ```
128
326
 
129
327
  ```
130
- Compare the P/E ratios of Microsoft and Google
328
+ What are today's biggest market gainers?
329
+ ```
330
+
331
+ ```
332
+ Get analyst price targets for NVIDIA
333
+ ```
334
+
335
+ ```
336
+ Show me insider trading activity for Microsoft
337
+ ```
338
+
339
+ ```
340
+ Calculate the 14-day RSI for TSLA on the daily timeframe
341
+ ```
342
+
343
+ ```
344
+ What's the current sector performance?
131
345
  ```
132
346
 
133
347
  ```
134
- Search for semiconductor companies
348
+ Get upcoming earnings announcements for this week
135
349
  ```
136
350
 
137
351
  ```
138
- Get recent news about NVIDIA
352
+ Show me institutional holders of Amazon
139
353
  ```
140
354
 
141
355
  ## API Rate Limits
@@ -143,7 +357,7 @@ Get recent news about NVIDIA
143
357
  Financial Modeling Prep offers different pricing tiers:
144
358
 
145
359
  - **Free Tier**: 250 requests/day
146
- - **Starter**: 500 requests/day
360
+ - **Starter**: 500 requests/day
147
361
  - **Professional**: 1,000+ requests/day
148
362
 
149
363
  See [FMP Pricing](https://financialmodelingprep.com/developer/docs/pricing) for current plans and limits.
@@ -153,7 +367,7 @@ See [FMP Pricing](https://financialmodelingprep.com/developer/docs/pricing) for
153
367
  ### Local Installation
154
368
 
155
369
  ```bash
156
- git clone https://github.com/yourusername/fmp-mcp.git
370
+ git clone https://github.com/houtini-ai/fmp-mcp.git
157
371
  cd fmp-mcp
158
372
  npm install
159
373
  npm run build
@@ -167,7 +381,7 @@ npm run build
167
381
  "financial-modeling-prep": {
168
382
  "command": "node",
169
383
  "args": [
170
- "C:\\path\\to\\fmp-mcp\\build\\index.js"
384
+ "/absolute/path/to/fmp-mcp/build/index.js"
171
385
  ],
172
386
  "env": {
173
387
  "FMP_API_KEY": "your_api_key_here"
@@ -187,15 +401,40 @@ Output goes to the `build/` directory.
187
401
 
188
402
  ## API Coverage
189
403
 
190
- This MCP server implements 7 core endpoints from the Financial Modeling Prep API:
404
+ This MCP server implements 29 endpoints from the Financial Modeling Prep API:
405
+
406
+ **Core Market Data** (3)
407
+ - Stock quotes, symbol search, company profiles
408
+
409
+ **Financial Statements** (6)
410
+ - Income statement, balance sheet, cash flow, key metrics, financial ratios (annual & quarterly)
411
+
412
+ **Market Performance** (4)
413
+ - Gainers, losers, most active, sector performance
414
+
415
+ **Analyst Data** (3)
416
+ - Estimates, price targets, ratings
417
+
418
+ **Insider & Institutional** (2)
419
+ - Insider trading, institutional holders
420
+
421
+ **Technical Indicators** (3)
422
+ - RSI, SMA, EMA with multiple timeframes
423
+
424
+ **Historical Data** (1)
425
+ - Intraday charts (1min to 4hour)
426
+
427
+ **Economic Data** (2)
428
+ - Economic calendar, economic indicators
429
+
430
+ **Events & Calendars** (1)
431
+ - Earnings calendar
432
+
433
+ **Index Data** (1)
434
+ - S&P 500 constituents
191
435
 
192
- - Stock Quote
193
- - Symbol Search
194
- - Company Profile
195
- - Income Statement
196
- - Balance Sheet
197
- - Cash Flow Statement
198
- - Stock News
436
+ **News** (1)
437
+ - Stock news (paid feature)
199
438
 
200
439
  For the complete API reference, see the [FMP Developer Documentation](https://site.financialmodelingprep.com/developer/docs).
201
440
 
@@ -237,4 +476,4 @@ MIT License - see [LICENSE](LICENSE) file for details.
237
476
 
238
477
  ## Acknowledgments
239
478
 
240
- Built with the [Model Context Protocol SDK](https://github.com/modelcontextprotocol/sdk) by Anthropic.
479
+ Built with the [Model Context Protocol SDK](https://github.com/modelcontextprotocol/sdk) by Anthropic.