@houtini/fmp-mcp 1.0.0 → 1.0.2
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 +34 -7
- package/build/index.js +1 -1
- package/commit_msg.txt +8 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -7,11 +7,13 @@ Model Context Protocol (MCP) server providing access to Financial Modeling Prep'
|
|
|
7
7
|
|
|
8
8
|
## Features
|
|
9
9
|
|
|
10
|
-
- **Real-time Market Data**: Live stock quotes with price, volume, and market metrics
|
|
11
|
-
- **Company Information**: Detailed profiles including industry, sector, and key executives
|
|
12
|
-
- **Financial Statements**: Income statements, balance sheets, and cash flow statements
|
|
13
|
-
- **Symbol Search**: Find companies by name or ticker across global exchanges
|
|
14
|
-
- **Stock News**: Latest news articles and market sentiment for specific symbols
|
|
10
|
+
- **Real-time Market Data**: Live stock quotes with price, volume, and market metrics ✅ Free
|
|
11
|
+
- **Company Information**: Detailed profiles including industry, sector, and key executives ✅ Free
|
|
12
|
+
- **Financial Statements**: Income statements, balance sheets, and cash flow statements ✅ Free
|
|
13
|
+
- **Symbol Search**: Find companies by name or ticker across global exchanges ✅ Free
|
|
14
|
+
- **Stock News**: Latest news articles and market sentiment for specific symbols 💰 Paid Only
|
|
15
|
+
|
|
16
|
+
> **Note**: Some features require a paid Financial Modeling Prep plan. The free tier provides access to fundamental data, quotes, and financial statements. News endpoints and certain advanced features require a paid subscription. See [API Limitations](#api-limitations) for details.
|
|
15
17
|
|
|
16
18
|
## Installation
|
|
17
19
|
|
|
@@ -105,7 +107,7 @@ Retrieve company cash flow statement data.
|
|
|
105
107
|
|
|
106
108
|
**Returns:** Operating cash flow, investing activities, financing activities, and free cash flow.
|
|
107
109
|
|
|
108
|
-
### `get_stock_news`
|
|
110
|
+
### `get_stock_news` 💰 Paid Only
|
|
109
111
|
Get latest news articles for a stock.
|
|
110
112
|
|
|
111
113
|
**Parameters:**
|
|
@@ -114,6 +116,8 @@ Get latest news articles for a stock.
|
|
|
114
116
|
|
|
115
117
|
**Returns:** News headlines, publication dates, URLs, and article summaries.
|
|
116
118
|
|
|
119
|
+
**Note:** This endpoint requires a paid FMP plan. Free tier users will receive a 402 Payment Required error.
|
|
120
|
+
|
|
117
121
|
## Usage Examples
|
|
118
122
|
|
|
119
123
|
Once installed, you can interact with the MCP server directly through Claude Desktop:
|
|
@@ -143,11 +147,34 @@ Get recent news about NVIDIA
|
|
|
143
147
|
Financial Modeling Prep offers different pricing tiers:
|
|
144
148
|
|
|
145
149
|
- **Free Tier**: 250 requests/day
|
|
146
|
-
- **Starter**: 500 requests/day
|
|
150
|
+
- **Starter**: 500 requests/day
|
|
147
151
|
- **Professional**: 1,000+ requests/day
|
|
148
152
|
|
|
149
153
|
See [FMP Pricing](https://financialmodelingprep.com/developer/docs/pricing) for current plans and limits.
|
|
150
154
|
|
|
155
|
+
## API Limitations
|
|
156
|
+
|
|
157
|
+
### Free Tier Access
|
|
158
|
+
|
|
159
|
+
The following features are **included** in the free tier:
|
|
160
|
+
- ✅ Real-time stock quotes (`get_quote`)
|
|
161
|
+
- ✅ Company profiles (`get_company_profile`)
|
|
162
|
+
- ✅ Financial statements - Income, Balance Sheet, Cash Flow (`get_income_statement`, `get_balance_sheet`, `get_cash_flow`)
|
|
163
|
+
- ✅ Symbol search (`search_symbol`)
|
|
164
|
+
|
|
165
|
+
### Paid Plan Required
|
|
166
|
+
|
|
167
|
+
The following features require a **paid subscription**:
|
|
168
|
+
- 💰 Stock news (`get_stock_news`) - Returns 402 Payment Required on free tier
|
|
169
|
+
- 💰 Other premium endpoints (not yet implemented in this MCP)
|
|
170
|
+
|
|
171
|
+
If you attempt to use a paid endpoint with a free API key, you'll receive:
|
|
172
|
+
```
|
|
173
|
+
Error: FMP API error: 402 Payment Required
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
To access these features, upgrade your plan at [FMP Pricing](https://site.financialmodelingprep.com/pricing-plans).
|
|
177
|
+
|
|
151
178
|
## Development
|
|
152
179
|
|
|
153
180
|
### Local Installation
|
package/build/index.js
CHANGED
|
@@ -259,7 +259,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
259
259
|
}
|
|
260
260
|
case 'get_stock_news': {
|
|
261
261
|
const { symbol, limit = 10 } = args;
|
|
262
|
-
const data = await fetchFMP(`/
|
|
262
|
+
const data = await fetchFMP(`/news/stock?symbols=${symbol.toUpperCase()}&limit=${limit}`);
|
|
263
263
|
return {
|
|
264
264
|
content: [
|
|
265
265
|
{
|
package/commit_msg.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
fix: correct stock news endpoint and document paid tier requirements
|
|
2
|
+
|
|
3
|
+
- Fix stock news endpoint from /stock_news?tickers= to /news/stock?symbols=
|
|
4
|
+
- Update README with clear free vs paid tier indicators
|
|
5
|
+
- Add API Limitations section explaining 402 Payment Required errors
|
|
6
|
+
- Bump version to 1.0.2
|
|
7
|
+
|
|
8
|
+
Resolves 404 errors on get_stock_news tool (now correctly returns 402 for free tier)
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -297,7 +297,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
297
297
|
|
|
298
298
|
case 'get_stock_news': {
|
|
299
299
|
const { symbol, limit = 10 } = args as { symbol: string; limit?: number };
|
|
300
|
-
const data = await fetchFMP(`/
|
|
300
|
+
const data = await fetchFMP(`/news/stock?symbols=${symbol.toUpperCase()}&limit=${limit}`);
|
|
301
301
|
return {
|
|
302
302
|
content: [
|
|
303
303
|
{
|