stockportfolio-mcp MCP Server
Filing-grounded US financials and SEC filing research, with source links and no estimates.
stockportfolio-mcp scores 69 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 10 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 46 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
69 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
93/100 for listing completeness. Lost points: 1 of 10 tools barely described, short summary.
How quality is graded
Where the 69 comes from
22 + 20 + 3 + 10 + 4 + 10 = 69. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "avisre-stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp@0.3.2" ], "env": { "STOCKPORTFOLIO_API_KEY": "YOUR_STOCKPORTFOLIO_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
STOCKPORTFOLIO_API_KEYSecret | Required | Required StockPortfolio.pro API key. Create or manage a key at https://www.stockportfolio.pro/api. |
Tools10Tool docs quality grade D
All capabilitiesask_filingstoolResearch a question against company filings and return supporting pulls.
Period-based financial statements with SEC filing sources.
get_filingtoolRead selected excerpts from an SEC filing.
Compare a company's recent filings of the same form.
Review recent filings across covered companies.
get_red_flagstoolSurface warning signs computed from filed statements.
screen_companiestoolScreen the covered company universe.
search_companiestoolResolve a company name or ticker to a covered US-listed company.
search_filingstoolSearch filing metadata by company, form, and date range.
sp_healthtoolFree liveness probe.
About
stockportfolio-mcp
Filing-grounded US financial data and SEC filing research for your agent. Figures retain their fiscal periods and source links; missing values are not estimated. Coverage is US-listed companies that report in USD.
# Create or manage an API key ā https://www.stockportfolio.pro/api
Install
The hosted MCP server supports OAuth 2.1/DCR. Clients that support remote Streamable HTTP can
connect directly to https://www.stockportfolio.pro/mcp and sign in. The local npm bridge is for
clients that need stdio and requires a StockPortfolio.pro API key.
Install the Cursor plugin
The Cursor Marketplace plugin connects to the hosted MCP server. After the plugin is listed, install
it from Cursor's Customize page and complete the sign-in prompt. If your client does not offer a
remote-MCP sign-in for https://www.stockportfolio.pro/mcp, send your API key as a header instead.
To configure a remote server manually, add one of these entries to ~/.cursor/mcp.json or the
project's .cursor/mcp.json:
{
"mcpServers": {
"stockportfolio": {
"url": "https://www.stockportfolio.pro/mcp"
}
}
}
{
"mcpServers": {
"stockportfolio": {
"url": "https://www.stockportfolio.pro/mcp",
"headers": { "Authorization": "Bearer your-api-key" }
}
}
}
Continuing use needs a StockPortfolio.pro account; the plugin itself is free and MIT.
Install the local stdio bridge
Add this to your MCP client's config and restart it:
Claude Desktop ā ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"stockportfolio": {
"command": "npx",
"args": ["-y", "stockportfolio-mcp"],
"env": { "STOCKPORTFOLIO_API_KEY": "your-key-here" }
}
}
}
The stdio bridge requires STOCKPORTFOLIO_API_KEY (or MCP_API_KEY) in its environment. It does
not provide anonymous keyless access. Create a key from the API page linked above.
Requires Node 18 or newer; npx fetches the package on first run. Nothing else to install ā
this package bundles everything it needs.
Tools
| tool | what it returns |
|---|---|
search_companies | Resolve a company name or ticker to a covered US-listed company. |
get_company_fundamentals | Period-based financial statements with SEC filing sources. |
search_filings | Search filing metadata by company, form, and date range. |
get_filing | Read selected excerpts from an SEC filing. |
ask_filings | Research a question against company filings and return supporting pulls. |
get_recent_filings | Review recent filings across covered companies. |
screen_companies | Screen the covered company universe. |
get_filing_changes | Compare a company's recent filings of the same form. |
get_red_flags | Surface warning signs computed from filed statements. |
sp_health | Free liveness probe. |
Research tools consume the allowance attached to the signed-in account. Current plans, credit costs, and trial availability are listed on the API page; they can change, so this README does not repeat price or allowance figures.
Every successful financial or filing response includes the relevant company, fiscal period, and SEC
filing source URL. Filing excerpts retain their filing URL; supplemental data is identified by
source. Missing values are returned as missing rather than estimated. The live /mcp endpoint
advertises the current tool schemas to clients during connection, so the list above is the current
source of truth for available tools.
What's in this package
A stdio MCP server that proxies to the hosted endpoint at
https://www.stockportfolio.pro/mcp. It reads JSON-RPC on stdin, forwards each request with your
key as a bearer header, and relays the reply to stdout. No filing data, no model code and no
server logic ship in the tarball ā the only thing it holds is the key you give it, and it sends
that key nowhere except that endpoint.
Because the endpoint is stateless, one bridge per client is fine and there is no session to resume ā a dropped connection is rebuilt on the next call.
Troubleshooting
| symptom | cause |
|---|---|
The API key was rejected | STOCKPORTFOLIO_API_KEY is missing, revoked, or pasted with quotes. |
Out of credits for this month | The account's allowance is spent. See current options on the API page. |
Rate limited | Too many concurrent calls; retry shortly. |
npx can't find the package | Node 18+ is required. npx -y stockportfolio-mcp from a terminal shows the same error your client sees. |
| Client shows no tools | Restart the client after editing the config ā the MCP config is read at startup. |
The bridge prints its errors to stderr, which most MCP clients surface in their log pane. To see them directly, run it yourself:
STOCKPORTFOLIO_API_KEY=your-key npx -y stockportfolio-mcp
Links
- Pricing and key management: https://stockportfolio.pro/api?utm_source=npm&utm_medium=integration&utm_campaign=stockportfolio-mcp
- REST API (same data, HTTP): https://stockportfolio.pro/api/v1
- Source and coverage: https://www.stockportfolio.pro/
Informational research only ā not investment advice. Fund data is Yahoo-derived and not redistributable.
Frequently asked questions
What is stockportfolio-mcp MCP Server?
Filing-grounded US financials and SEC filing research, with source links and no estimates.
How do I install stockportfolio-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. stockportfolio-mcp MCP Server runs locally from the npm package stockportfolio-mcp with the command npx -y stockportfolio-mcp@0.3.2.
Is stockportfolio-mcp MCP Server free and open source?
Yes. stockportfolio-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does stockportfolio-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for stockportfolio-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does stockportfolio-mcp MCP Server provide?
stockportfolio-mcp MCP Server provides 10 tools, including ask_filings, get_company_fundamentals, get_filing, and get_filing_changes. See the full tool list for descriptions and parameters.
How is stockportfolio-mcp MCP Server's trust score calculated?
stockportfolio-mcp MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetāBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.