Xchain MCP
MCP server by XChain-Platform Verified · npm:xchain-mcp
Xchain MCP is a Model Context Protocol server for the XChain Platform. It lets AI assistants read chain, token and balance data on BTC, LTC and DOGE, and optionally submit policy-gated actions. It is aimed at developers and AI agent builders.
Install Xchain MCP
Built from the published package, never by AI.
claude mcp add xchain-mcp -- npx -y xchain-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"xchain-mcp": {
"args": [
"-y",
"xchain-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"xchain-mcp": {
"args": [
"-y",
"xchain-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"xchain-mcp": {
"args": [
"-y",
"xchain-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add xchain-mcp -- npx -y xchain-mcp{
"mcpServers": {
"xchain-mcp": {
"args": [
"-y",
"xchain-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add xchain-mcp npx -y xchain-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xchain-mcp block.
About
Xchain MCP is a Model Context Protocol stdio server for the XChain Platform. It lets an AI assistant read chain, token and balance data on BTC, LTC and DOGE across mainnet, testnet and regtest. It is backed by the XChain SDK and can optionally submit policy-gated actions.
The server runs with npx xchain-mcp and exposes the SDK's explorer query methods as MCP tools for AI agent use. The underlying SDK covers 31 action types, transaction lifecycle handling, wallet sessions and fee estimation. Write operations need an encoder service. The project is intended for developers and AI agent builders who need XChain data or actions from an assistant.
Written from the project's README and checked against it.
What you need
- Node.js 22 or newer
- An encoder service URL for write actions
Try asking
- Check the BTC balance of this address on XChain mainnet
- List the tokens held by this LTC address
- Estimate the fee for a SEND action on DOGE testnet
Good to know
- Write actions need an encoder service (ENCODER_URL or ENCODER_PORT)
- Zero-config defaults apply to mainnet and testnet only
- ATTEST actions cannot be submitted directly by users
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Query BTC, LTC and DOGE balances
- Read token and transaction data
- Give AI agents XChain Platform access
Alternatives to Xchain MCP
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
Xchain MCP: common questions
Which blockchains does Xchain MCP support?
The source says it reads chain, token and balance data on BTC, LTC and DOGE. It covers mainnet, testnet and regtest networks.
Can the MCP server send transactions?
It can optionally submit policy-gated actions, backed by the XChain SDK. Writes require an encoder service to be configured.
How is the MCP server started?
The source says it is run with npx xchain-mcp. The MCP server is published separately from the SDK package.
How do I install Xchain MCP?
In Claude Code run claude mcp add xchain-mcp -- npx -y xchain-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Xchain MCP the official server?
Xchain MCP is published by npm:xchain-mcp from its verified domain in the official MCP Registry.
Is Xchain MCP free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Xchain MCP safe to use?
It scores 75 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Xchain MCP?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does Xchain MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
