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
Package may not be on PyPI yet. Prefer GitHub:
# one-shot via uvx
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
- Sign up at www.xtree.io.
- Set
XTREE_API_KEY=xt_live_....
Cursor / Claude config
{
"mcpServers": {
"xtree": {
"command": "uvx",
"args": ["--from", "git+https://github.com/xtree-io/xtree-mcp.git", "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
- Website docs: https://www.xtree.io/docs
- OpenAPI: https://api.xtree.io/api/openapi.json
- Python SDK: https://github.com/xtree-io/xtree-python
- Skills: https://github.com/xtree-io/xtree-skills
Environment
| Variable | Required | Default |
|---|---|---|
XTREE_API_KEY |
yes | — |
XTREE_BASE_URL |
no | https://api.xtree.io/api |
XTREE_VERIFY_CODE |
no | — |
Mirror notice
Do not develop in this repository. Public mirror only. Issues welcome. Contact: business@xtree.io.
License
MIT.
Metadata
Release files for xtree-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xtree_mcp-0.1.0.tar.gz | 6.2 kB | With provenance | Details for xtree_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtree_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for xtree_mcp-0.1.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / xtree_mcp-0.1.0.tar.gz
| Download URL | xtree_mcp-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d68c6427e6a380c9be090a5d76fc707e4ad495f4255ddafc43a2847eecf8598b
|
|
BLAKE2b-256 checksum How to use checksums |
83874a1af6bbe2fa4b7c154abd12ad67b5a7ef82d271693ae1619dc15a028b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / xtree_mcp-0.1.0-py3-none-any.whl
| Download URL | xtree_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7ddc765316b867e3717bb9537779b93c5c2bf487efc543fb509e8720c44248a
|
|
BLAKE2b-256 checksum How to use checksums |
702584fb1ee490c80728770cb51899f18aa4ff06dae5940b5145879344273584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for xtree-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for xtree_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.