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 の主要な中国プラットフォームからのトレンド データへのリアルタイム アクセスを提供します。

プラットフォームコンテンツ状態
🔮星座旅行毎日の星占い予測
💬毎日一句励志英語毎日のモチベーションを高める英語の名言
📊熱搜熱榜結合トレンドトピックの集約
🔥微博的時熱搜Weiboリアルタイムトレンドトピック
📰今日头条熱搜今日のヘッドライントレンドニュース
📝澎湃ニュースホットラインThePaper.cnニューストレンドトピック
🏀虎扑步行街熱搜Hupu BXJリアルタイムトレンド🔜
リアルタイム熱搜を知るZhihuリアルタイムトレンドトピック🔜
📔毎日報を知る知乎日刊ダイジェスト🔜
💼 36℃ 24時間熱湯36Kr 24時間トレンドビジネスニュース🔜
🎬哔哩哔哩全站日榜ビリビリデイリーランキング🔜
🔍百度熱点熱榜百度のトレンドトピック🔜
📱抖音热点热榜Douyinのトレンドトピック🔜
👥豆瓣小組精選Doubanグループの注目コンテンツ🔜
💻 IT资讯熱榜ITニュースのトレンドトピック🔜
📈虎嗅網热榜Huxiu 24時間トレンドトピック🔜
📱製品の理性的なホットテキストWoshipm毎日人気記事🔜
🐞虫族部落最新热门Chongbuluoの最新の人気コンテンツ🔜

🚀 インストール

# 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 サーバーは、各データ ソースごとに個別のツールを備えたモジュール アーキテクチャに従います。

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-hotspotsWeiboのリアルタイムトレンドトピック/weibo-hotspots
horoscope星座別の毎日の星占い/horoscope
daily-english-sentence毎日のモチベーションを高める英語の名言/daily-english-sentence
internet-hotspots-aggregatorトレンドトピックの集約/internet-hotspots-aggregator
today-headlines-hotspots今日のヘッドライントレンドトピック/today-headlines-hotspots
paper-news-hotspotsThePaper.cnのトレンドニュース/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);

🤝 貢献する

貢献を歓迎します!お気軽にプルリクエストを送信してください。

  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

Weibo、Zhihu、Bilibili など 18 の主要な中国インターネット プラットフォームからリアルタイムのトレンド コンテンツを AI モデルに提供するモデル コンテキスト プロトコル サーバーです。

  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