Octagon Investment Research 标志

Octagon Investment Research

组织
OctagonAI

An MCP server for public & prediction markets research. Ask natural-language questions and get structured, source-backed answers across SEC filings, earnings transcripts, company financials, stock & crypto market data, and prediction markets news & research. Built for investors, analysts, and researchers who need fast, cited intelligence.

发布者OctagonAI
代码仓库octagon-mcp-server
语言TypeScript
复刻数
25
星标数
148
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Octagon Investment Research 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 148 个星标和 25 个复刻。

Octagon: MCP for Public & Prediction Markets Intelligence

smithery badge

Favicon 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, stocks & crypto data, stock news, and prediction markets news & research within Claude Desktop and other popular MCP clients.

Demo

Tools

✅ octagon-agent orchestrates broad market intelligence analysis

  • Public market insights: SEC filings (10-K, 10-Q, 20-F, 8-K, S-1, 13-F, DEF 14A), earnings call transcripts
  • Stocks & crypto market data: stock trading, crypto trading data, news, press release, ownerships and holdings

✅ 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-agent for updated research reports on each prediction markets
  • prediction_markets_history for structured historical market data retrieval

✅ Live Octagon documentation access

  • octagon-docs-search, octagon-docs-read, octagon-docs-list, and octagon-docs-refresh
  • MCP resources for octagon-docs://catalog, octagon-docs://status, and octagon-docs://page/{target}

Get Your Octagon API Key

To use Octagon MCP, you need to:

  1. Sign up for a free account at Octagon
  2. After logging in, from left menu, navigate to API Keys
  3. Generate a new API key
  4. Use this API key in your configuration as the OCTAGON_API_KEY value

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)

  1. Install Homebrew (if you don't have it):

    bash
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Node.js (includes npm and npx):

    bash
    brew install node

    This will install the latest version of Node.js, npm, and npx.

  3. Verify installation:

    bash
    node -v
    npm -v
    npx -v

Windows

  1. Download the Node.js installer:
  2. Run the installer and follow the prompts. This will install Node.js, npm, and npx.
  3. Verify installation: Open Command Prompt and run:
    cmd
    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:

  1. Open Claude Desktop
  2. Go to Settings > Developer > Edit Config
  3. Add the following to your claude_desktop_config.json (Replace your-octagon-api-key with your Octagon API key):
json
{
  "mcpServers": {
    "octagon-mcp-server": {
      "command": "npx",
      "args": ["-y", "octagon-mcp@latest"],
      "env": {
        "OCTAGON_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
  1. 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:

  1. Open Cursor Settings
  2. Go to Features > MCP Servers
  3. Click "+ Add New MCP Server"
  4. 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

bash
env OCTAGON_API_KEY=your_octagon_api_key npx -y octagon-mcp

Manual Installation

bash
npm install -g octagon-mcp

Documentation

For comprehensive documentation on using Octagon agents, please visit our official documentation at: https://octagonai.co/docs/

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:

This MCP server also exposes the live docs corpus directly to MCP clients. Documentation access is fetched from the public Octagon docs LLM entry point at https://octagonai.co/docs/llms.txt; it does not use or transmit OCTAGON_API_KEY.

Available Tools

The MCP server currently exposes the following tools:

Documentation Tools

These tools expose live Octagon docs inside the MCP session. They work even before OCTAGON_API_KEY is configured, which makes them useful for setup, troubleshooting, and discovering the right Octagon agent or API workflow.

octagon-docs-list

Lists live docs sections and pages from the Octagon docs corpus.

Parameters

  • section (string, optional): filter by docs section.
  • source (docs, site, or all, optional): defaults to the docs corpus.
  • limit (number, optional): maximum entries to return.

octagon-docs-search

Searches the Octagon API, agent, MCP, and plugin docs with source URLs and optional snippets.

Parameters

  • query (string, required): search query.
  • section (string, optional): filter by docs section.
  • source (docs, site, or all, optional): defaults to the docs corpus.
  • limit (number, optional): maximum results to return.
  • includeSnippets (boolean, optional): include matched snippets in results.

Example:

text
Search Octagon docs for Claude plugin connector setup.

octagon-docs-read

Reads one docs page or section as Markdown by title, URL, path, or catalog id.

Parameters

  • target (string, required): docs title, URL, path, or catalog id.
  • source (docs, site, or all, optional): defaults to the docs corpus.
  • maxChars (number, optional): maximum Markdown characters to return.
  • preferCachedContent (boolean, optional): use the indexed docs corpus when available.

Example:

text
Read the Octagon MCP server guide.

octagon-docs-refresh

Refreshes the in-memory docs catalog from the live LLM-friendly docs endpoints.

Parameters

  • includeSite (boolean, optional): also refresh the broader https://octagonai.co/llms.txt site index.

Documentation Resources

Clients that support MCP resources can also browse:

  • octagon-docs://catalog: normalized live docs catalog.
  • octagon-docs://status: cache state, source endpoints, and refresh metadata.
  • octagon-docs://page/{target}: one docs page or section as Markdown.

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 prior octagon-agent thread. Omit this on the first turn.
  • newConversation (boolean, optional): if true, 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:

  1. stored conversation for MCP transport session identity, when the transport actually provides it
  2. stored conversation for the server-managed default stdio session
  3. explicit conversation can 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:

  1. First call: send only prompt
  2. Let the MCP host preserve transport session continuity or rely on the default stdio session
  3. Second call: either
    • send the new prompt in the same MCP session, or
    • keep using the same stdio MCP process, or
    • explicitly pass the previous conversation

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 conversation controls the active Octagon thread inside that session

The MCP result keeps the answer in content, and also returns structured metadata for orchestrators in structuredContent:

json
{
  "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:

json
{
  "prompt": "AAPL",
  "conversation": "conv_123"
}

New visible chat example:

json
{
  "prompt": "Analyze Apple",
  "newConversation": true
}

Explicit refresh example:

json
{
  "prompt": "Start a fresh Octagon thread for this chat",
  "newConversation": true
}

Stateful tool policy

  • octagon-agent: stateful, uses a usable continuity anchor. In stdio hosts, that defaults to the server-managed process session unless you provide explicit conversation
  • other MCP tools: stateless and may run without session continuity

Example:

text
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?"
  • "What are the latest news articles for NVIDIA stock from the past week?"

octagon-deep-research-agent

Performs comprehensive multi-source deep research and synthesis.

Parameters

  • prompt (string, required): natural language research request.

Example:

text
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:refresh
    • true: prediction-markets-agent:cache

Example:

text
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:

text
Fetch historical data for the Kalshi event https://kalshi.com/markets/kxbtcy/btc-price-range-eoy/kxbtcy-27jan0100

Troubleshooting

  1. API Key Issues: Ensure your Octagon API key is correctly set in the environment or config file.
  2. Connection Issues: Make sure the connectivity to the Octagon API is working properly.
  3. 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:

Research Tools


⭐ Star this repo if you find it helpful!

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "octagon-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "octagon-mcp@latest"
      ],
      "env": {
        "OCTAGON_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

将 Octagon Investment Research MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Octagon Investment Research 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Octagon Investment Research 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Octagon Investment Research MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "octagon-investment-research": {
      "command": "npx",
      "args": [
        "-y",
        "octagon-mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Octagon Investment Research MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Octagon Investment Research MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Octagon Investment Research 帮我完成这项任务吗?
Octagon Investment Research
当然,我看过了。
以下是我使用 Octagon Investment Research 得到的结果。

常见问题

Octagon Investment Research MCP 服务器有什么用途?

Octagon Investment Research 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Octagon Investment Research MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Octagon Investment Research。

为什么在 TypingMind 中使用 Octagon Investment Research MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Octagon Investment Research 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Octagon Investment Research MCP 连接到 TypingMind?

Octagon Investment Research 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Octagon Investment Research MCP 在 TypingMind 中提供哪些工具?

Octagon Investment Research 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Octagon Investment Research MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Octagon Investment Research 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇