Stock Analysis MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stock Analysis MCP ServerCalculate profitability metrics for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stock Analysis MCP Server 📈
A defensible, filing-based Model Context Protocol (MCP) server for financial stock analysis of U.S. public companies powered by SEC EDGAR REST APIs and XBRL facts datasets.
🌟 Features
Zero API Keys Required: Queries the official, free, and public SEC EDGAR REST APIs directly.
Deterministic Metric Engine: Calculates Net Income, Free Cash Flow (
Operating Cash Flow - CapEx), Operating Margin, Net Margin, EBITDA Proxy, and Stock-Based Compensation intensity with complete calculation traces.Red-Flag Diagnostic Engine: Automatically flags cash conversion divergence, margin compression, receivables growing faster than revenue, and SBC share dilution.
SEC Audit Evidence: Direct links to SEC filings, 10-K/10-Q documents, and accession numbers.
FastMCP Compliant: Built strictly following MCP standards (single-line docstrings, stdio transport, formatted output).
Related MCP server: Financial Datasets MCP Server
🛠️ Exposed MCP Tools
Tool | Function | Key Arguments |
| Resolve ticker, CIK, or name to SEC metadata |
|
| Retrieve recent filings (10-K, 10-Q, 8-K) with direct URLs |
|
| Pull raw and normalized XBRL income statement, balance sheet, or cash flow facts |
|
| Compute Net Income, FCF, Margins, EBITDA Proxy, SBC Intensity |
|
| Multi-period aligned comparisons and YoY growth rates |
|
| Run automated red-flag diagnostics |
|
| Return SEC accession numbers, XBRL tags, and source URLs |
|
🚀 Quick Start (Docker)
1. Build the Container Image
docker build -t stock-analysis-mcp-server:latest .2. Add to your MCP Client Configuration
In your claude_desktop_config.json or mcp_config.json:
{
"mcpServers": {
"stock_analysis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"stock-analysis-mcp-server:latest"
]
}
}
}💻 Local Development (Without Docker)
Installation
pip install -r requirements.txtRun Server
python stock_analysis_server.py📄 License
This project is licensed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceEnables deep analysis of SEC EDGAR filings through universal company search, document content extraction, and advanced filing search capabilities. Provides AI-ready access to business descriptions, risk factors, financial statements, and full-text search across any public company's SEC documents.
- Flicense-qualityDmaintenanceProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
- FlicenseAqualityDmaintenanceProvides access to SEC filings and detailed XBRL financial data for all publicly traded U.S. companies. It enables users to search for company info, retrieve historical metrics like revenue and assets, and compare financial performance across different industries.61
- Flicense-qualityBmaintenanceEnables AI agents to research US public company filings, financials, and insider transactions using SEC EDGAR data, with no API keys required. Provides tools for company lookup, recent filings, full-text search, financial facts, and insider activity.
Related MCP Connectors
SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
Search SEC filings, read 10-K/8-K, query XBRL facts, track Form 4 insider trades.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnasOsama2/financial-stock-analysis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server