Skip to content
MCP server

XTREE

WeChat search, article metrics and Channels data for AI agents

Runs locally
Install

XTREE is a paid MCP server for china social data. It runs locally on your machine and is started by your AI client.

Pricing
Paid
Platforms
CLI, API
Runs
Locally
Version
0.1.1
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add xtree --env XTREE_API_KEY='<XTREE_API_KEY>' -- uvx xtree-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xtree": {
      "command": "uvx",
      "args": [
        "xtree-mcp"
      ],
      "env": {
        "XTREE_API_KEY": "<XTREE_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xtree": {
      "command": "uvx",
      "args": [
        "xtree-mcp"
      ],
      "env": {
        "XTREE_API_KEY": "<XTREE_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xtree": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "xtree-mcp"
      ],
      "env": {
        "XTREE_API_KEY": "<XTREE_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xtree": {
      "command": "uvx",
      "args": [
        "xtree-mcp"
      ],
      "env": {
        "XTREE_API_KEY": "<XTREE_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xtree": {
      "command": "uvx",
      "args": [
        "xtree-mcp"
      ],
      "env": {
        "XTREE_API_KEY": "<XTREE_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XTREE_API_KEYXTREE API key, xt_live_...Required

About XTREE

XTREE's MCP server gives an agent read access to WeChat data through the XTREE API. It covers keyword search for official-account articles and accounts, Channels posts, article reads and likes, account post history and an article library.

The server runs locally over stdio and starts with uvx xtree-mcp. It needs an XTREE API key in XTREE_API_KEY, and each successful call is deducted from your wallet at the catalogue price. The balance check is free and incomplete deliveries are not billed.

Other platforms XTREE supports are reached through its REST API and Python SDK rather than this server.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

account_balance
Wallet balance; free.
wechat_search_articles
Keyword search for official-account articles.
wechat_search_accounts
Keyword search for official accounts.
wechat_channels_feeds
List posts for a channel_id from search.
wechat_channels_feeds_convert_id
Convert export_id to object_id or the reverse.
wechat_articles_metrics
Reads, likes and wows for an article URL.
wechat_articles_metrics_pro
Adds shares, favorites and comment counts for an article URL.
wechat_accounts_posts
List historical posts for an account.
wechat_accounts_search_by_owner_live
Live search for official accounts under an organization name.

What it does

Article and account search
Keyword search for official-account articles and for accounts.
Channels data
List posts for a channel and convert between export and object IDs.
Article metrics
Reads, likes and wows, with a Pro tool adding shares, favourites and comment counts.
Account history
List an account's historical posts and find accounts under an organisation.
Per-call billing
Successful calls debit a wallet; the balance tool is free and incomplete delivery is not billed.
Runs with uvx
Same JSON config works in Cursor, Claude Desktop and VS Code.

Good for

  • Track engagement on a WeChat article
  • Research which official accounts publish on a topic
  • Review an account's posting history
  • Collect Channels posts for a creator
  • Monitor accounts owned by a given organisation

Pricing

Paid

Pay per successful call from a prepaid wallet; API key required

Prices change. Check xtree.io before you buy.

XTREE FAQ

How do I install XTREE?

Run uvx xtree-mcp with XTREE_API_KEY set; uv must be installed.

How is XTREE billed?

Each successful tool call debits your wallet at the API catalogue price. account_balance is free and incomplete delivery is not billed.

Which clients work?

Any client that runs a stdio MCP server, including Cursor, Claude Desktop and VS Code.

Does XTREE cover other platforms?

This server exposes WeChat tools; other platforms are available through the REST API and Python SDK.

Is XTREE free?

No. XTREE is a paid product.

How do I add XTREE to Claude Code?

Run this command in your terminal: claude mcp add xtree --env XTREE_API_KEY='<XTREE_API_KEY>' -- uvx xtree-mcp

What are the best alternatives to XTREE?

The closest alternatives to XTREE are Douyin Xiaohongshu Rednote Social Scraper MCP, AutoTasker Hub — China Social Data API, Kizuki WeChat Articles, Weibo Hot Search (微博热搜): Trending Topics & Posts and Palimpsest — censorship, China economy and model-eval observatory.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers