
用于分析WallStreetBets的MCP服务器
概览
一个模型上下文协议(MCP)服务器,提供实时的WallStreetBets数据,用于与Claude或其他大型语言模型客户端进行分析。 - : 按评分、评论数和内容类型筛选帖子 - : 从帖子中提取评论、链接和元数据 - : 收集WSB讨论中分享的链接 - : 市场分析即用提示模板 - : 数据收集过程中实时更新进展 - : 与Claude Desktop及其他MCP客户端无缝集成 - Python 3.12及以上版本 - Reddit API凭证 - Claude Desktop或其他MCP客户端 通过Smithery自动安装WSB Analyst for Claude Desktop: 克隆此仓库或下载源文件: 创建虚拟环境并安装依赖: 要使用这个服务器,你需要创建一个Reddit应用程序来获取API凭证: 1. 登录您的Reddit账号 2.导航到https://www.reddit.com/prefs/apps 3.向下滚动,点击“创建另一个应用......”或“创建一个应用......”4.
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,提供实时的WallStreetBets数据,用于与Claude或其他大型语言模型客户端进行分析。
特色
- 获取WallStreetBets帖子:按评分、评论数和内容类型筛选帖子
- 详细帖子分析:从帖子中提取评论、链接和元数据
- 外部链接集合:收集WSB讨论中分享的链接
- 分析模板:现成型市场分析提示模板
- 进展报告:数据收集过程中的实时进展更新
- MCP 集成:与 Claude Desktop 及其他 MCP 客户端无缝集成
要求
- Python 3.12 或更高版本
- Reddit API 凭证
- Claude桌面或其他MCP客户端
安装
通过Smithery安装
通过Smithery自动安装WSB Analyst for Claude Desktop:
克隆此仓库或下载源文件:
创建虚拟环境并安装依赖:
设置Reddit API凭证
要使用这个服务器,你需要创建一个Reddit应用程序来获取API凭证:
- 登录你的Reddit账号
- 导航至https://www.reddit.com/prefs/apps
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
WSB Analyst MCP Server
A Model Context Protocol (MCP) server that provides real-time WallStreetBets data for analysis with Claude or other LLM clients.
Features
- Fetch WallStreetBets Posts: Filter posts by score, comment count, and content type
- Detailed Post Analysis: Extract comments, links, and metadata from posts
- External Link Collection: Gather links being shared in WSB discussions
- Analysis Templates: Ready-to-use prompt templates for market analysis
- Progress Reporting: Real-time progress updates during data collection
- MCP Integration: Seamless integration with Claude Desktop and other MCP clients
Requirements
- Python 3.12 or higher
- Reddit API credentials
- Claude Desktop or another MCP client
Installation
Installing via Smithery
To install WSB Analyst for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ferdousbhai/wsb-analyst-mcp --client claude
Clone this repository or download the source files:
git clone https://github.com/ferdousbhai/wsb-analyst-mcp
cd wsb-analyst-mcp
Create a virtual environment and install dependencies:
# Using uv (recommended)
uv sync
Setting Up Reddit API Credentials
To use this server, you need to create a Reddit application to get API credentials:
- Log in to your Reddit account
- Navigate to https://www.reddit.com/prefs/apps
- Scroll down and click “create another app…” or “create an app…”
- Fill in the following details:
- name: WSB Analyst MCP (or any name you prefer)
- app type: select “script”
- description: Optional description of your application
- about url: Can be left blank
- redirect uri: Use
http://localhost:8000(any valid URL works as we don’t use OAuth)
- Click “create app”
- After creation, note down:
- client_id: The string under the app name (appears right under “personal use script”)
- client_secret: The string labeled “secret”
Configuration for Claude Desktop
Open Claude Desktop’s configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
安装
uvx run wsb-analyst配置
{
"mcpServers": {
"wsb-analyst": {
"command": "uvx",
"args": [
"run",
"wsb-analyst"
],
"env": {
"REDDIT_CLIENT_ID": "your_client_id_here",
"REDDIT_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}