Skip to main content
Glama
Xmedi MCP Server

Xmedi MCP Server

Official
by xmedi-data

极媒数据 MCP

用顾客自己的 API Key,在本机把极媒数据接到 Cursor 或 Claude。每个工具对应一次 API 调用,成功才扣费。费用在响应的 _meta.cost_fen,单位是分。

官网说明:https://www.xmedi.cn/mcp

安装

pip install "xmedi-mcp @ git+https://github.com/xmedi-data/xmedi-mcp.git"

Related MCP server: SocialToAI MCP Server

配置

在 https://www.xmedi.cn 注册并创建 API Key。Cursor 的 MCP 配置:

{
  "mcpServers": {
    "xmedi": {
      "command": "xmedi-mcp",
      "env": {
        "XMEDI_API_KEY": "xm_live_..."
      }
    }
  }
}

Claude Desktop 使用同一条命令,写进 claude_desktop_config.json 的 mcpServers。可选环境变量 XMEDI_BASE_URL,默认 https://api.xmedi.cn/api/v1。

工具

工具

接口

account_balance

余额,不扣费

wechat_search_articles

公众号文章搜索

douyin_search_videos

抖音视频搜索

xhs_search_notes

小红书笔记搜索

douyin_video_detail

抖音视频详情

xhs_note_detail

小红书笔记详情

douyin_user_posts

抖音账号作品

xhs_user_notes

小红书账号笔记

douyin_resolve_id

抖音链接解析

douyin_video_comments

抖音一级评论

xhs_resolve_id

小红书链接解析

xhs_note_comments

小红书一级评论

ok 为 false,或 error_code 为 INSUFFICIENT_BALANCE 时停止。翻页只回传上一轮的 data.next_cursor。用户没有要求下一页时不要继续翻。

技能说明:https://github.com/xmedi-data/xmedi-skills

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to crawl and extract data from Chinese social media platforms like Bilibili, Xiaohongshu, and Douyin. Provides search, content detail retrieval, and creator information tools with persistent browser sessions and QR code login support.
      80
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI tools to read publicly visible social media posts, comments, profiles, and trends from 18 platforms such as TikTok, Instagram, X, Reddit, YouTube, Xiaohongshu, and Weibo, on a prepaid pay-per-call basis where failed calls are free. Ships tools for search, trending, detail, comments, user profiles and posts, plus higher-level workflows like brand buzz, comment analysis, account watching, creator discovery, bulk link data, and viral finding.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query public social media data across TikTok, Instagram, YouTube, X, Douyin and Xiaohongshu through ten unified business-level tools covering creator and post search, comments, trending topics, and comment insights. Ships one normalized schema over MCP, SSE, REST and stdio, with per-call pricing and cost/balance reported in every response.
      10
      38 PyPI
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects AI assistants and code to Douyin data, letting them search videos by keyword or hashtag, read video details and comments, look up creator profiles and their posts, and find Douyin Shop products with pricing and sales. It is hosted and read-only, requiring no Douyin login, cookies or installation.
      MIT