Pulse CN MCP Server
🔥 Pulse CN MCP 服务器
强大的模型上下文协议 (MCP) 服务器,提供来自中国互联网的实时趋势内容。
🌟 概述
Pulse CN MCP 服务器使 AI 模型能够访问中国互联网上的最新动态。它基于模型上下文协议 (MCP) 构建,在 AI 模型与中国最热门社交媒体平台、新闻网站和内容聚合器的实时数据之间架起了一座桥梁。
Related MCP server: Weibo MCP Server
✨ 特点
该服务器提供18个中国主要平台的实时趋势数据:
平台 | 内容 | 地位 |
🔮星座运势 | 每日星座运势预测 | ✅ |
💬每日一句励志英语 | 每日励志英语名言 | ✅ |
📊热搜热榜聚合 | 汇总热门话题 | ✅ |
🔥微博实时热搜 | 微博实时热门话题 | ✅ |
📰今日头条热搜 | 今日头条热门新闻 | ✅ |
📝澎湃新闻热搜 | 澎湃新闻热点话题 | ✅ |
🏀虎扑步行街热搜 | 虎扑BXJ实时走势 | 🔜 |
❓知乎实时热搜 | 知乎实时热门话题 | 🔜 |
📔知乎每日日报 | 知乎每日文摘 | 🔜 |
💼36氪24小时热榜 | 36氪24小时热门商业新闻 | 🔜 |
🎬哔哩哔哩全站日榜 | Bilibili每日排行榜 | 🔜 |
🔍百度热点榜 | 百度热门话题 | 🔜 |
📱抖音热点榜 | 抖音热门话题 | 🔜 |
👥豆瓣小组精选 | 豆瓣小组精选内容 | 🔜 |
💻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可用工具
全面实施
工具名称 | 描述 | 端点 |
| 微博实时热门话题 |
|
| 每日星座运势 |
|
| 每日励志英语名言 |
|
| 汇总热门话题 |
|
| 今日头条热门话题 |
|
| 澎湃新闻 |
|
即将推出
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 请求。
分叉项目
创建你的功能分支(
git checkout -b feature/amazing-feature)提交您的更改(
git commit -m 'Add some amazing feature')推送到分支(
git push origin feature/amazing-feature)打开拉取请求
📄 许可证
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。
🙏 致谢
本项目使用了韩小韩API提供的免费API,对他们的优质服务和支持表示诚挚的感谢。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wangtsiao/pulse-cn-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server