MCP Server for trending data from multiple platforms for indie developers
Project description
MCP Server Trending
🌟 项目简介
MCP Server Trending 是一个基于 Model Context Protocol (MCP) 的热门榜单聚合服务,让你的 AI 助手能够实时查询:
- 📊 GitHub Trending - 热门仓库和开发者
- 💬 Hacker News - 技术社区热门讨论
- 🚀 Product Hunt - 最新产品发布
专为独立开发者、Indie Hackers 和技术创业者设计
⚡ 快速开始
方式一:从 PyPI 安装(推荐)
pip install mcp-server-trending
注意:首次发布前,请使用方式二从源码安装
方式二:从源码安装
git clone https://github.com/Talljack/mcp_server_trending.git
cd mcp_server_trending
bash install.sh
就这么简单! 🎉 脚本会自动完成所有配置。
配置 AI 客户端
Claude Desktop (MacOS)
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"trending": {
"command": "mcp-server-trending"
}
}
}
重启 Claude Desktop 即可使用!
Cherry Studio
在 Cherry Studio → 设置 → MCP Server 中添加:
{
"name": "Trending",
"description": "独立开发者热门榜单聚合服务",
"type": "stdio",
"command": "mcp-server-trending"
}
注意:如果是从源码安装,command 需要使用完整路径:
{
"command": "/path/to/mcp_server_trending/.venv/bin/mcp-server-trending"
}
💬 使用示例
请帮我查询 GitHub 上今天最热门的 Python 项目
Hacker News 上现在有什么热门的技术讨论?
同时告诉我 GitHub 上的 Rust 项目和 Hacker News 的技术热点
🎯 功能特性
已支持平台
| 平台 | 功能 | 可调参数 |
|---|---|---|
| GitHub Trending | 热门仓库/开发者 | 语言、时间范围 |
| Hacker News | 各类热门故事 | 类型、数量(1-500) |
| Product Hunt | 产品发布 | 时间范围、主题 |
可用工具
get_github_trending_repos- 获取 GitHub trending 仓库get_github_trending_developers- 获取 GitHub trending 开发者get_hackernews_stories- 获取 Hacker News 故事get_producthunt_products- 获取 Product Hunt 产品
🏗️ 技术架构
- 语言: Python 3.10+
- 协议: Model Context Protocol (MCP)
- 设计: 高复用性 + 模块化 + 类型安全
- 部署: 一键安装脚本 + GitHub Actions CI
📚 文档
- CONTRIBUTING.md - 贡献指南
- CHERRY_STUDIO_QUICKSTART.md - Cherry Studio 配置
- PRD.md - 产品需求文档
🛠️ 开发
# 安装开发依赖
pip install -e ".[dev]"
# 运行测试
pytest tests/
# 代码格式化
black src/ tests/
ruff check src/ tests/
🤝 贡献
欢迎贡献!查看 CONTRIBUTING.md
📄 许可证
MIT License - 查看 LICENSE
如果觉得有用,请给个 ⭐️!
Made with ❤️ for Indie Hackers
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_trending-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_trending-0.1.0.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e88bd6e3c3012bef87a0aaf4e3eba0154f87b21712f78fe97cb17da679f44bc8
|
|
| MD5 |
00226b6496ca5791197e397ce3213d35
|
|
| BLAKE2b-256 |
5f92214beab51c23d1780df3eb9ab6b855a13229c1ab7c13041a5e0ef776b527
|
File details
Details for the file mcp_server_trending-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_trending-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4f46478af2692e2359fbdab858237ae9e723b54ccc42b6ccdd8baefc551b83
|
|
| MD5 |
29d12e668edf40c9910706269b1a7618
|
|
| BLAKE2b-256 |
df4fdd36e0213c5d984239b1cb905e371ac0959368e3037f5605b44308824639
|