Repository avatar
Communication
v0.1.1
active

xtree

io.github.xtree-io/xtree

WeChat tools for accounts, articles, and Channels. Other platforms use REST.

Documentation

xtree-mcp — XTREE MCP server

MCP server for XTREE, a real-time social media data API. This repository exposes WeChat tools (search, Channels, article metrics, account history, library search) plus account balance for Cursor, Claude Desktop, and any MCP client. Other live platforms are on the REST API and the Python SDK. Not a BI or copywriting product.

Tools call https://api.xtree.io with your own API Key and wallet (pay per call).

Install / run

uvx xtree-mcp

The package is on PyPI. To run the GitHub mirror instead:

uvx --from "git+https://github.com/xtree-io/xtree-mcp.git" xtree-mcp

Or install editable after cloning:

git clone https://github.com/xtree-io/xtree-mcp.git
cd xtree-mcp
pip install xtree-sdk
pip install -e .

Get an API Key

  1. Sign up at www.xtree.io.
  2. Set XTREE_API_KEY=xt_live_....

Cursor / Claude config

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

Billing

Each tool call is a billed API request from your wallet (CNY). Incomplete delivery is not billed. Unit prices: API Catalog. Scenario playbooks (when to call which tool, pagination): xtree-skills.

Docs

Environment

VariableRequiredDefault
XTREE_API_KEYyes—
XTREE_BASE_URLnohttps://api.xtree.io/api
XTREE_VERIFY_CODEno—

Mirror notice

Do not develop in this repository. Public mirror only. Issues welcome. Contact: business@xtree.io.

License

MIT.

PYPI
xtree-mcp
Install Command
pip install xtree-mcp