WSB Analyst MCP Server

Integrations

  • Allows specific analysis of AMD stock mentions on WallStreetBets, including the ability to gather external resources that WSB users are sharing about AMD stock.

  • Accesses Reddit's API to pull real-time data from WallStreetBets, allowing filtering of posts by score, comment count, and content type, as well as extracting comments, metadata, and shared links for market analysis.

WSB 分析员 MCP 服务器

模型上下文协议 (MCP) 服务器提供实时 WallStreetBets 数据,以供 Claude 或其他 LLM 客户端进行分析。

特征

  • 获取 WallStreetBets 帖子:按分数、评论数和内容类型过滤帖子
  • 详细帖子分析:从帖子中提取评论、链接和元数据
  • 外部链接收集:收集 WSB 讨论中分享的链接
  • 分析模板:用于市场分析的即用提示模板
  • 进度报告:数据收集期间的实时进度更新
  • MCP 集成:与 Claude Desktop 和其他 MCP 客户端无缝集成

要求

  • Python 3.10 或更高版本
  • Reddit API 凭证
  • Claude Desktop或其他 MCP 客户端

安装

克隆此存储库或下载源文件:

git clone https://github.com/ferdousbhai/wsb-analyst-mcp cd wsb-analyst-mcp

创建虚拟环境并安装依赖项:

# Using uv (recommended) uv sync

设置 Reddit API 凭证

要使用此服务器,您需要创建一个 Reddit 应用程序来获取 API 凭证:

  1. 登录您的Reddit帐户
  2. 导航至https://www.reddit.com/prefs/apps
  3. 向下滚动并单击“创建另一个应用程序...”或“创建应用程序...”
  4. 填写以下详细信息:
    • 姓名:WSB 分析师 MCP(或您喜欢的任何姓名)
    • 应用程序类型:选择“脚本”
    • 描述:应用程序的可选描述
    • 关于网址:可以留空
    • 重定向 uri :使用http://localhost:8000 (任何有效的 URL 都可以,因为我们不使用 OAuth)
  5. 点击“创建应用”
  6. 创建完成后,记下:
    • client_id :应用程序名称下的字符串(出现在“个人使用脚本”下方)
    • client_secret :标记为“secret”的字符串

Claude 桌面配置

打开Claude Desktop的配置文件:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

添加以下配置(根据需要调整路径):

{ "mcpServers": { "wsb-analyst": { "command": "uv", "args": [ "--directory", "/absolute/path/to/wsb-analyst-mcp", "run", "mcp_wsb_server.py" ], "env": { "REDDIT_CLIENT_ID": "your_client_id_here", "REDDIT_CLIENT_SECRET": "your_client_secret_here" } } } }

重启Claude桌面

与 Claude Desktop 一起使用

配置完成后,您可以通过 Claude 与 WSB Analyst 服务器进行交互:

  1. 打开 Claude 桌面
  2. 您应该在消息输入框的右下角看到一个锤子图标
  3. 点击锤子查看可用的工具
  4. 通过斜线命令访问提示模板(例如, /analyze_wsb_market

示例查询:

  • “今天 WallStreetBets 上最热门的股票有哪些?”
  • “分析最近的 WallStreetBets 帖子并告诉我潜在的市场机会”
  • “WSB 用户分享了哪些有关 AMD 股票的外部资源?”

可用工具

find_top_posts

根据标准获取并过滤 WSB 帖子。

参数:

  • min_score (默认值:100):所需的最低分数(赞成票数)
  • min_comments (默认值:10):所需的最少评论数
  • limit (默认值:10):返回的最大帖子数
  • excluded_flairs (默认值: ["Meme", "Shitpost", "Gain", "Loss"] ):要排除的帖子标签列表。

fetch_post_details

获取有关特定 WSB 帖子的详细信息,包括热门评论。

参数:

  • post_id :Reddit 帖子 ID

fetch_batch_post_details

有效地获取多个帖子的详细信息。

fetch_detailed_wsb_posts

获取并过滤 WSB 帖子,然后获取详细信息,包括每个帖子的热门评论和链接。

收集热门帖子的所有外部链接。

识别并返回最近 WSB 热门帖子中经常提及或讨论的股票代码列表。

提示模板

/analyze_wsb_market

提供模板提示,指导法学硕士 (LLM) 使用可用工具 ( fetch_detailed_wsb_postsget_external_links ) 进行全面的市场分析。它指导法学硕士 (LLM) 分析的结构和重点。

/find_market_movers

创建一个专注于特定股票或整体市场走势的提示。此提示将指导法学硕士 (LLM) 使用find_top_postsfetch_post_detailsfetch_batch_post_details等工具。

与 Firecrawl MCP 服务器集成

为了增强分析能力,尤其是在处理 WSB 帖子中的外部链接时,您可以将此服务器与Firecrawl MCP 服务器集成。这样,您的 LLM 代理不仅可以识别 WSB 上共享的链接,还可以抓取和分析这些链接页面的内容。

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

模型上下文协议服务器使 LLM 客户端能够从实时 WallStreetBets 帖子、评论和共享链接中获取、分析和提取见解,以进行市场分析。

  1. Features
    1. Requirements
      1. Installation
        1. Setting Up Reddit API Credentials
          1. Configuration for Claude Desktop
            1. Using with Claude Desktop
              1. Available Tools
                1. find_top_posts
                2. fetch_post_details
                3. fetch_batch_post_details
                4. fetch_detailed_wsb_posts
                5. get_external_links
                6. get_trending_tickers
              2. Prompt Templates
                1. /analyze_wsb_market
                2. /find_market_movers
              3. Integrating with Firecrawl MCP Server
                1. License

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.
                    Last updated -
                    4
                    Python
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that provides LLMs with access to Valyu's knowledge retrieval and feedback APIs for searching proprietary/web sources and submitting transaction feedback.
                    Last updated -
                    2
                    TypeScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.
                    Last updated -
                    4
                    Python
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs like Claude to interact with the Alpaca trading API, allowing for trading stocks, checking positions, fetching market data, and managing accounts through natural language.
                    Last updated -
                    Python
                    MIT License

                  View all related MCP servers

                  ID: mx6aao4igr