Stockportfolio MCP
Filing-grounded US company financials and SEC filing research with source links
Stockportfolio MCP is an MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
- Platforms
- API, CLI
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.3.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add stockportfolio-mcp --env STOCKPORTFOLIO_API_KEY='<STOCKPORTFOLIO_API_KEY>' -- npx -y stockportfolio-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"stockportfolio-mcp": {
"command": "npx",
"args": [
"-y",
"stockportfolio-mcp"
],
"env": {
"STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"stockportfolio-mcp": {
"command": "npx",
"args": [
"-y",
"stockportfolio-mcp"
],
"env": {
"STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"stockportfolio-mcp": {
"command": "npx",
"args": [
"-y",
"stockportfolio-mcp"
],
"env": {
"STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"stockportfolio-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stockportfolio-mcp"
],
"env": {
"STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add stockportfolio-mcp --env STOCKPORTFOLIO_API_KEY='<STOCKPORTFOLIO_API_KEY>' -- npx -y stockportfolio-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.stockportfolio-mcp]
command = "npx"
args = ["-y", "stockportfolio-mcp"]
env = { STOCKPORTFOLIO_API_KEY = "<STOCKPORTFOLIO_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"stockportfolio-mcp": {
"command": "npx",
"args": [
"-y",
"stockportfolio-mcp"
],
"env": {
"STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Or run: gemini mcp add -s user -e STOCKPORTFOLIO_API_KEY='<STOCKPORTFOLIO_API_KEY>' stockportfolio-mcp npx -- -y stockportfolio-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "stockportfolio-mcp": { "command": "npx", "args": [ "-y", "stockportfolio-mcp" ], "env": { "STOCKPORTFOLIO_API_KEY": "<STOCKPORTFOLIO_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
STOCKPORTFOLIO_API_KEYRequired StockPortfolio.pro API key. Create or manage a key at https://www.stockportfolio.pro/api.Required
About Stockportfolio MCP
Stockportfolio MCP answers US-listed company questions from SEC filings. Figures keep their fiscal periods and source links, missing values are returned as missing rather than estimated, and coverage is limited to companies reporting in USD.
Ten tools resolve companies, return period-based statements, search and read filings, ask questions against filings, list recent filings, screen the covered universe, compare a company's recent filings of the same form and surface red flags computed from filed statements. The hosted server supports OAuth 2.1 and dynamic client registration; a local npm bridge forwards requests with an API key for stdio-only clients.
Research calls use an account allowance, and the README refers to the API page for plans instead of listing prices. It is informational research, not investment advice.
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 7 of 10 tools read data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- search_companiesName suggests: reads
- Resolve a name or ticker.
- get_company_fundamentalsName suggests: reads
- Period-based financial statements.
- search_filingsName suggests: reads
- Search filing metadata.
- get_filingName suggests: reads
- Read filing excerpts.
- ask_filings
- Research a question against filings.
- get_recent_filingsName suggests: reads
- Recent filings across covered companies.
- screen_companies
- Screen covered companies.
- get_filing_changesName suggests: reads
- Compare recent filings.
- get_red_flagsName suggests: reads
- Warning signs from filed statements.
- sp_health
- Liveness probe.
What it does
- Sourced figures
- Each response includes company, period and filing URL.
- Filing search
- Search by company, form and date.
- Filing excerpts
- Read selected parts of a filing.
- Question answering
- Research a question against filings.
- Red flags
- Warning signs computed from filed statements.
- Filing comparison
- Compare recent filings of the same form.
Good for
- Pull multi-year statements for a company
- Compare this year's 10-K with last year's
- Screen covered companies
- Find recent filings in a sector
Pricing
Pricing unknown
Account allowance applies; prices on the vendor's API page
Stockportfolio MCP FAQ
Is an API key needed?
The npm bridge needs STOCKPORTFOLIO_API_KEY; the hosted server uses sign-in.
Are missing values estimated?
No.
Which companies?
US-listed companies reporting in USD.
Where are prices?
On the StockPortfolio.pro API page.
How do I add Stockportfolio MCP to Claude Code?
Run this command in your terminal: claude mcp add stockportfolio-mcp --env STOCKPORTFOLIO_API_KEY='<STOCKPORTFOLIO_API_KEY>' -- npx -y stockportfolio-mcp
What are the best alternatives to Stockportfolio MCP?
The closest alternatives to Stockportfolio MCP are Agent-Native Analytics, Solana MCP by Vybe, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and Tapetide - Indian Stock Market MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


