Octagon
oficialDeliver real-time investment research with extensive private and public market data.
Octagon: MCP for Market Data
The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API, enabling users to analyze and extract insights from public filings, earnings calls, financial metrics, private market transactions, and prediction market events within Claude Desktop and other popular MCP clients.
Tools
✅ octagon-agent orchestrates broad market intelligence analysis
- Public market insights (SEC filings, transcripts, financials, stock data)
- Private market insights (companies, funding rounds, deals, debt, investors)
✅ octagon-deep-research-agent for comprehensive deep research
- Multi-source synthesis for investment research questions
- Best for up-to-date, cross-source thematic analysis
✅ Prediction market research tooling
octagon-prediction-markets-agentfor Kalshi event research reportsprediction_markets_historyfor structured historical market data retrieval
Get Your Octagon API Key
To use Octagon MCP, you need to:
- Sign up for a free account at Octagon
- After logging in, from left menu, navigate to API Keys
- Generate a new API key
- Use this API key in your configuration as the
OCTAGON_API_KEYvalue
Prerequisites
Before installing or running Octagon MCP, you need to have npx (which comes with Node.js and npm) installed on your system.
Mac (macOS)
-
Install Homebrew (if you don't have it):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Node.js (includes npm and npx):
brew install nodeThis will install the latest version of Node.js, npm, and npx.
-
Verify installation:
node -v npm -v npx -v
Windows
- Download the Node.js installer:
- Go to https://nodejs.org/ and download the LTS version for Windows.
- Run the installer and follow the prompts. This will install Node.js, npm, and npx.
- Verify installation:
Open Command Prompt and run:
node -v npm -v npx -v
If you see version numbers for all three, you are ready to proceed with the installation steps below.
Installation
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-keywith your Octagon API key):
{
"mcpServers": {
"octagon-mcp-server": {
"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 Cursor
Configuring Cursor Desktop 🖥️ 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 with npx
env OCTAGON_API_KEY=your_octagon_api_key npx -y octagon-mcp
Manual Installation
npm install -g octagon-mcp
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
For the latest hosted MCP client setup guide, see:
Available Tools
The MCP server currently exposes the following tools:
octagon-agent
Orchestrates public and private market intelligence analysis.
Parameters
prompt(string, required): natural language research request.conversation(string, optional): existing Octagon conversation ID to continue a prioroctagon-agentthread. Omit this on the first turn.newConversation(boolean, optional): iftrue, starts a fresh Octagon thread for the active session/thread anchor. Recommended for the first turn of a brand new visible chat in top-layer hosts such as Claude Desktop.
Threaded usage
octagon-agent is the only MCP tool that forwards Octagon conversation threading. It is a stateful tool and expects session continuity. The MCP resolves session/thread state in this order:
- stored conversation for MCP transport session identity, when the transport actually provides it
- stored conversation for the server-managed default
stdiosession - explicit
conversationcan still override the active session conversation for that call
This package currently runs as a stdio MCP server. In stdio mode, the server automatically establishes a process-local session for continuity across calls. Most local hosts such as Claude Desktop or Cursor can therefore use octagon-agent without supplying any extra threading fields for basic follow-up behavior.
When a top-layer host knows a call is the first turn of a new visible chat, it should pass newConversation: true. That explicitly clears any stored Octagon thread for the active MCP session anchor before the call, which prevents stale continuity when a stdio host reuses the same long-lived MCP process across multiple visible chats.
This means you can use any of these patterns:
- First call: send only
prompt - Let the MCP host preserve transport session continuity or rely on the default stdio session
- Second call: either
- send the new
promptin the same MCP session, or - keep using the same stdio MCP process, or
- explicitly pass the previous
conversation
- send the new
Transport session identity is the canonical continuity primitive for standards-compliant stateful MCP transports. For local stdio usage, the server-managed process session provides default continuity.
Session identity and Octagon conversation identity are different concepts:
- MCP session identity controls server-side continuity across tool calls
- Octagon
conversationcontrols the active Octagon thread inside that session
The MCP result keeps the answer in content, and also returns structured metadata for orchestrators in structuredContent:
{
"model": "octagon-agent",
"text": "Which stock would you like the latest price for?",
"conversation": "conv_123",
"responseId": "resp_123",
"followUp": {
"required": true,
"inputTemplate": "<ticker or company name>",
"instructions": "Reply with just the missing detail and reuse the conversation value from this response."
}
}
Explicit carry-forward example:
{
"prompt": "AAPL",
"conversation": "conv_123"
}
New visible chat example:
{
"prompt": "Analyze Apple",
"newConversation": true
}
Explicit refresh example:
{
"prompt": "Start a fresh Octagon thread for this chat",
"newConversation": true
}
Stateful tool policy
octagon-agent: stateful, uses a usable continuity anchor. Instdiohosts, that defaults to the server-managed process session unless you provide explicitconversation- other MCP tools: stateless and may run without session continuity
Example:
Compare NVIDIA and AMD on latest quarterly revenue growth, margins, and management commentary.
More examples:
- "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?"
- "How many investments did Andreessen Horowitz make in AI startups in the last 12 months?"
octagon-deep-research-agent
Performs comprehensive multi-source deep research and synthesis.
Parameters
prompt(string, required): natural language research request.
Example:
Research the impact of lower interest rates on late-stage private software valuations over the next 12 months.
More examples:
- "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"
- "Retrieve historical Bitcoin price data from 2023 and analyze the price volatility trends"
- "Analyze the competitive dynamics in the EV charging infrastructure market"
octagon-prediction-markets-agent
Generates research reports for Kalshi prediction market events.
Parameters
prompt(string, required): natural language research request.cache(boolean, optional): controls agent variant routing.- omitted:
prediction-markets-agent false:prediction-markets-agent:refreshtrue:prediction-markets-agent:cache
- omitted:
Example:
Generate a report for the Kalshi market https://kalshi.com/markets/kxbtcy/btc-price-range-eoy/kxbtcy-27jan0100
prediction_markets_history
Fetches historical data for a prediction market event ticker with optional pagination and time filters.
Parameters
event_ticker(string, required)limit(number, optional)cursor(string, optional)captured_from(string, optional)captured_to(string, optional)include_analysis(boolean, optional; when true, requests analysis columns)
Example:
Fetch historical data for the Kalshi event https://kalshi.com/markets/kxbtcy/btc-price-range-eoy/kxbtcy-27jan0100
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
Individual Specialized MCP Servers
While this server provides comprehensive market intelligence combining all our specialized agents, you can also use our individual MCP servers for specific use cases:
Public Market Data Servers
- Octagon SEC Filings MCP - Dedicated server for SEC filings analysis
- Octagon Earnings Transcripts MCP - Specialized for earnings call transcript analysis
- Octagon Stock Market Data MCP - Focused on stock market data access
- Octagon Financial Statements MCP - Financial metrics and ratios analysis
- Octagon 13F Holdings MCP - Institutional ownership and Form 13F filings
Private Market Data Servers
- Octagon Private Companies MCP - Private company research and intelligence
- Octagon Investors MCP - Investor profiles and investment strategies
- Octagon Funding Data MCP - Startup funding rounds and venture capital data
Research Tools
- Octagon Deep Research MCP - Comprehensive research and web scraping capabilities
⭐ Star this repo if you find it helpful!
Servidores relacionados
Knowledge Graph Memory Server
Enables persistent memory for Claude using a knowledge graph stored in local JSON files.
MCP MariaDB Server
Manage and query MariaDB databases using the Model Context Protocol (MCP), with support for SQL and vector search.
CPersona
Persistent AI memory server with 3-layer hybrid search, confidence scoring, and 16 tools. Zero LLM dependency.
Airtable
Read and write access to Airtable databases.
Redshift Utils MCP Server
Perform database actions on Amazon Redshift via its Data API.
Neo4j MCP Server
A read-only query service for Neo4j graph databases.
Quickbase MCP Server
An MCP server for Quickbase, enabling seamless integration with AI assistants like Claude Desktop.
Veeva MCP Server by CData
A read-only MCP server by CData that enables LLMs to query live data from Veeva.
Avro MCP Server by CData
A read-only MCP server for Avro data sources, powered by the CData JDBC Driver.
ClickHouse MCP Server
A Node.js server for querying ClickHouse databases.
