Octagon: MCP For Market Data
by ken-octagon
A free Model Context Protocol (MCP) server that integrates with Octagon Market Intelligence API
What is Octagon: MCP For Market Data
Octagon: MCP For Market Data
A Model Context Protocol (MCP) server implementation that integrates with Octagon Market Intelligence API.
Features
โ Specialized AI agents for public market data
- SEC filings analysis and data extraction (8000+ public companies 10-K, 10-Q, 8-K, 20-F, S-1)
- Earnings call transcript analysis (10 yrs of historical and current)
- Financial metrics and ratios analysis (10 yrs of historical and current)
- Stock market data access (over 10,000 active tickers, daily historical and current)
โ Specialized AI agents for private market data
- Private company research (3M+ companies)
- Funding rounds and venture capital research (500k+ deals)
- M&A and IPO transaction research (2M+ deals)
- Debt transactions research (1M+ deals)
โ Specialized AI agents for deep research
- Web scraping capabilities (json, csv, python scripts)
- Comprehensive deep research tools
Getting an API Key
To use Octagon MCP, you need to:
- Sign up for a free account at Octagon
- After logging in, navigate to Settings โ API Keys
- Generate a new API key
- Use this API key in your configuration as the
OCTAGON_API_KEY
value
Installation
Running with npx
env OCTAGON_API_KEY=your_octagon_api_key npx -y octagon-mcp
Manual Installation
npm install -g octagon-mcp
Running on Cursor
Configuring Cursor ๐ฅ๏ธ Note: Requires Cursor version 0.45.6+
To configure Octagon MCP in Cursor:
- Open Cursor Settings
- Go to Features > MCP Servers
- Click "+ Add New MCP Server"
- Enter the following:
- Name: "octagon-mcp" (or your preferred name)
- Type: "command"
- Command:
env OCTAGON_API_KEY=your-octagon-api-key npx -y octagon-mcp
If you are using Windows and are running into issues, try
cmd /c "set OCTAGON_API_KEY=your-octagon-api-key && npx -y octagon-mcp"
Replace your-octagon-api-key
with your Octagon API key.
After adding, refresh the MCP server list to see the new tools. The Composer Agent will automatically use Octagon MCP when appropriate, but you can explicitly request it by describing your investment research needs. Access the Composer via Command+L (Mac), select "Agent" next to the submit button, and enter your query.
Running on Claude Desktop
To configure Octagon MCP for Claude Desktop:
- Open Claude Desktop
- Go to Settings > Developer > Edit Config
- Add the following to your
claude_desktop_config.json
(Replaceyour-octagon-api-key
with your Octagon API key):
{
"mcpServers": {
"octagon": {
"command": "npx",
"args": ["-y", "octagon-mcp@latest"],
"env": {
"OCTAGON_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
- Restart Claude for the changes to take effect
Running on Windsurf
Add this to your ./codeium/windsurf/model_config.json
:
{
"mcpServers": {
"octagon": {
"command": "npx",
"args": ["-y", "octagon-mcp@latest"],
"env": {
"OCTAGON_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Documentation
For comprehensive documentation on using Octagon agents, please visit our official documentation at: https://docs.octagonagents.com
The documentation includes:
- Detailed API references
- Agent-specific query guidelines
- Examples and use cases
- Best practices for investment research
Configuration
Environment Variables
Required
OCTAGON_API_KEY
: Your Octagon API key- Required for all operations
- Sign up at Octagon if you don't have an API key
Available Tools
Each tool uses a single prompt
parameter that accepts a natural language query. Include all relevant details in your prompt.
Public Market Intelligence
octagon-sec-agent
Extract information from SEC filings.
Example:
What was Apple's gross margin percentage from their latest 10-Q filing?
octagon-transcripts-agent
Analyze earnings call transcripts.
Example:
What did NVIDIA's CEO say about AI chip demand in their latest earnings call?
octagon-financials-agent
Retrieve financial metrics and ratios.
Example:
Calculate the price-to-earnings ratio for Tesla over the last 4 quarters
octagon-stock-data-agent
Access stock market data.
Example:
How has Apple's stock performed compared to the S&P 500 over the last 6 months?
Private Market Intelligence
octagon-companies-agent
Research private company information.
Example:
What is the employee count and funding history for Anthropic?
octagon-funding-agent
Research startup funding rounds and venture capital.
Example:
What was OpenAI's latest funding round size, valuation, and key investors?
octagon-deals-agent
Research M&A and IPO transactions.
Example:
What was the acquisition price when Microsoft acquired GitHub?
octagon-investors-agent
A specialized database agent for looking up information on investors.
Example:
What is the latest investment criteria of Insight Partners?
octagon-debts-agent
A specialized database agent for analyzing private debts, borrowers, and lenders.
Example:
List all the debt activities from borrower American Tower
Additional Tools
octagon-scraper-agent
Extract data from any public website.
Example:
Extract property prices and square footage data from zillow.com/san-francisco-ca/
octagon-deep-research-agent
Perform comprehensive research on any topic.
Example:
Research the financial impact of Apple's privacy changes on digital advertising companies' revenue and margins
Example Queries
- "What were Amazon's revenue and net income figures in Q4 2023?"
- "Analyze Tesla's R&D spending trends over the last 3 years."
- "What guidance did NVIDIA's CEO provide regarding AI chip demand in their latest earnings call?"
- "Compare the price-to-earnings, price-to-sales, and EV/EBITDA ratios for the top 5 semiconductor companies."
- "What was Anthropic's latest funding round size, valuation, and key investors?"
- "Extract all data fields from zillow.com/san-francisco-ca/"
- "Research the financial impact of Apple's privacy changes on digital advertising companies' revenue and margins"
- "Compile all the debt activities from lender ING Group in Q4 2024"
- "How many investments did Andreessen Horowitz make in AI startups in the last 12 months?"
Troubleshooting
- API Key Issues: Ensure your Octagon API key is correctly set in the environment or config file.
- Connection Issues: Make sure the connectivity to the Octagon API is working properly.
- Rate Limiting: If you encounter rate limiting errors, reduce the frequency of your requests.
License
MIT
๐ โโญ Star this repo if you find it helpful!"
Leave a Comment
Comments section will be available soon. Stay tuned!
Frequently Asked Questions
What is MCP?
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.
What are MCP Servers?
MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.
How do MCP Servers work?
MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.
Are MCP Servers secure?
Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.
Related MCP Servers
21st.dev Magic AI Agent
It's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Requirements:
A Model Context Protocol Server for connecting with Adfin APIs
AgentQL MCP Server
Model Context Protocol server that integrates AgentQL's data extraction capabilities.
AgentRPC
A universal RPC layer for AI agents. Connect to any function, any language, any framework, in minutes.
Aiven MCP Server
Model Context Protocol server for Aiven
IoTDB MCP Server
Apache IoTDB MCP Server
Apify Model Context Protocol (MCP) Server
Model Context Protocol (MCP) Server for Apify's Actors
APIMatic Validator MCP Server
APIMatic Validator MCP Server for validating OpenAPI specs via APIMatic's API with MCP
๐ Audiense Insights MCP Server
Audiense Insights MCP Server is a server based on the Model Context Protocol (MCP) that allows Claude and other MCP-compatible clients to interact with your Audiense Insights account
Bankless Onchain MCP Server
Bringing the bankless onchain API to MCP
Submit Your MCP Server
Share your MCP server with the community
Submit Now