Pulse CN MCP Server

by wangtsiao
Verified

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.

Integrations

  • Provides access to trending topics and hot searches from Baidu, China's leading search engine.

  • Delivers daily rankings and trending content from Bilibili, China's popular video-sharing platform.

  • Provides featured content from Douban groups, a Chinese social networking platform focused on books, movies, and music.

🔥 Pulse CN MCP 服务器

强大的模型上下文协议 (MCP) 服务器,提供来自中国互联网的实时趋势内容。

功能安装快速入门文档贡献许可证

🌟 概述

Pulse CN MCP 服务器使 AI 模型能够访问中国互联网上的最新动态。它基于模型上下文协议 (MCP) 构建,在 AI 模型与中国最热门社交媒体平台、新闻网站和内容聚合器的实时数据之间架起了一座桥梁。

✨ 特点

该服务器提供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

可用工具

全面实施

工具名称描述端点
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-hotspots
  • zhihu-realtime-hotspots
  • zhihu-daily-hotspots
  • 36-krypton-24-hour-hotspots
  • bilibili-daily-hotspots
  • baidu-hotspots
  • douyin-hotspots
  • douban-group-hotspots
  • huxiu-hotspots
  • product-manager-hotspots
  • in-information-hotspots
  • insect-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); }

🛠️ 开发

添加新工具

  1. src/tools/中创建一个新文件(例如, myNewTool.ts
  2. 使用 MCP Server SDK 实现您的工具
  3. 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 请求。

  1. 分叉项目
  2. 创建你的功能分支( git checkout -b feature/amazing-feature
  3. 提交您的更改( git commit -m 'Add some amazing feature'
  4. 推送到分支( git push origin feature/amazing-feature
  5. 打开拉取请求

📄 许可证

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

🙏 致谢

本项目使用了韩小韩API提供的免费API,对他们的优质服务和支持表示诚挚的感谢。


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

模型上下文协议服务器,为AI模型提供来自微博、知乎、哔哩哔哩等18个中国主要互联网平台的实时趋势内容。

  1. 🌟 Overview
    1. ✨ Features
      1. 🚀 Installation
        1. ⚡ Quick Start
          1. 📖 Documentation
            1. Architecture
            2. Available Tools
            3. Integration Example
          2. 🛠️ Development
            1. Adding a New Tool
          3. 🤝 Contributing
            1. 📄 License
              1. 🙏 Acknowledgements
                ID: 31tji3xv7u