关于 Weibohot
Weibohot 是面向 AI 模型的中国网络趋势信息 MCP 服务,通过工具提供微博、新闻等平台的实时热点,以及每日星座和英语句子。
主要功能
- 01微博实时热搜
- 02聚合多平台热点
- 03今日头条与澎湃新闻热榜
- 04每日星座运势
- 05每日励志英语句子
适用场景
- 01查询微博当前热门话题
- 02汇总查看网络热点
- 03获取每日星座运势
- 04为内容流程提供每日英语句子
MCP 相关
作为 MCP 服务,它通过 Stdio 传输向兼容客户端提供热点、星座运势和每日英语句子等工具。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
🔥 Pulse CN MCP Server
提供中国互联网实时热门内容的强大 Model Context Protocol(MCP)服务。
🌟 概述
Pulse CN MCP Server 让 AI 模型能够获取有关中国互联网热门趋势的最新信息。它基于 Model Context Protocol(MCP)构建,充当 AI 模型与中国最受欢迎的社交媒体平台、新闻网站和内容聚合平台实时数据之间的桥梁。
✨ 功能
此服务提供来自中国 18 个主要平台的实时热门数据:
| 平台 | 内容 | 状态 |
|---|---|---|
| 🔮 星座运势 | 每日星座运势预测 | ✅ |
| 💬 每日一句励志英语 | 每日励志英语句子 | ✅ |
| 📊 热搜热榜聚合 | 聚合热门话题 | ✅ |
| 🔥 微博实时热搜 | 微博实时热门话题 | ✅ |
| 📰 今日头条热搜 | 今日头条热门新闻 | ✅ |
| 📝 澎湃新闻热搜 | 澎湃新闻热门话题 | ✅ |
| 🏀 虎扑步行街热搜 | 虎扑步行街实时热门 | 🔜 |
| ❓ 知乎实时热搜 | 知乎实时热门话题 | 🔜 |
| 📔 知乎每日日报 | 知乎每日简报 | 🔜 |
| 💼 36氪24小时热榜 | 36氪24小时商业新闻热榜 | 🔜 |
| 🎬 哔哩哔哩全站日榜 | 哔哩哔哩全站日榜 | 🔜 |
| 🔍 百度热点热榜 | 百度热门话题 | 🔜 |
| 📱 抖音热点热榜 | 抖音热门话题 | 🔜 |
| 👥 豆瓣小组精选 | 豆瓣小组选精选内容 | 🔜 |
| 💻 IT资讯热榜 | IT 新闻热门话题 | 🔜 |
| 📈 虎嗅网热榜 | 虎嗅网24小时热门话题 | 🔜 |
| 📱 产品经理热文榜 | Woshipm 每日热门文章 | 🔜 |
| 🐞 虫族部落最新热门 | 虫族部落最新热门内容 | 🔜 |
🚀 安装
# Clone the repository
git clone https://github.com/wangtsiao/pulse-cn-mcp.git
# Navigate to the project directory
cd pulse-cn-mcp
# Using npm
npm install
npm run build
# Or using Bun (faster)
bun install
bun run build
⚡ 快速开始
使用以下命令启动 MCP 服务:
# Using npm
npm start
# Or using Bun
bun start
这会通过 Stdio 传输启动服务,使其能够接受兼容 MCP 的 AI 模型连接。
📖 文档
架构
Pulse CN MCP Server 采用模块化架构,为每个数据源提供独立工具:
src/
├── index.ts # Main entry point and server setup
└── tools/ # Individual tool implementations
├── weiboHotspots.js
├── horoscope.js
├── dailyEnglishSentence.js
├── internetHotspotsAggregator.js
├── todayHeadlinesHotspots.js
├── paperNewsHotspots.js
└── otherHotspots.js
可用工具
已完整实现
| 工具名称 | 描述 | 端点 |
|---|---|---|
weibo-hotspots | 来自微博的实时热门话题 | /weibo-hotspots |
horoscope | 按星座查询每日运势 | /horoscope |
daily-english-sentence | 每日励志英语句子 | /daily-english-sentence |
internet-hotspots-aggregator | 聚合热门话题 | /internet-hotspots-aggregator |
today-headlines-hotspots | 今日头条热门话题 | /today-headlines-hotspots |
paper-news-hotspots | 澎湃新闻热门资讯 | /paper-news-hotspots |
即将推出
hupu-pedestrian-street-hotspotszhihu-realtime-hotspotszhihu-daily-hotspots36-krypton-24-hour-hotspotsbilibili-daily-hotspotsbaidu-hotspotsdouyin-hotspotsdouban-group-hotspotshuxiu-hotspotsproduct-manager-hotspotsin-information-hotspotsinsect-hotspots
集成示例
以下是使用 TypeScript 与服务集成的示例:
import { McpClient } from "@modelcontextprotocol/sdk/client";
async function example() {
const client = new McpClient();
// Get Weibo trending topics
const weiboHotspots = await client.callTool("weibo-hotspots", {});
console.log(weiboHotspots.content);
// Get daily horoscope for Aries
const horoscope = await client.callTool("horoscope", { sign: "aries" });
console.log(horoscope.content);
}
🛠️ 开发
添加新工具
- 在
src/tools/中创建新文件(例如,myNewTool.ts) - 使用 MCP Server SDK 实现工具
- 在
src/index.ts中注册工具
示例:
// src/tools/myNewTool.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
export function registerMyNewTool(server: McpServer) {
server.tool(
"my-new-tool",
"Description of my new tool",
{
// Tool parameters schema
param1: z.string().describe("Parameter description")
},
async (params) => {
// Tool implementation
return {
content: [
{ type: "text", text: "Result of my tool" }
]
};
}
);
}
// src/index.ts - Add import and registration
import { registerMyNewTool } from './tools/myNewTool.js';
// ...
registerMyNewTool(server);
🤝 参与贡献
欢迎贡献!欢迎随时提交 Pull Request。
- Fork 项目
- 创建功能分支(
git checkout -b feature/amazing-feature) - 提交更改(
git commit -m 'Add some amazing feature') - 推送到分支(
git push origin feature/amazing-feature) - 发起 Pull Request
📄 许可证
本项目采用 MIT License 授权,详情请参阅 LICENSE 文件。
🙏 致谢
本项目使用了 韩小韩API 提供的免费 API。我们衷心感谢他们提供的优质服务与支持。
由 wangtsiao 倾情打造 ❤️
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。