XRPL Data MCP
Provides tools for interacting with the XRP Ledger (XRPL), including account info, transactions, ledger data, NFTs, AMMs, orderbook, validators, and network overview via XRPL JSON-RPC, LOS, Validator History Service, and XRPLMeta.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@XRPL Data MCPcheck the XRPL network status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
XRPL MCP Server
MCP server for:
LOS (
https://los.prod.ripplex.io)Validator History Service (
https://data.xrpl.org)XRPL JSON-RPC (
https://s1.ripple.com:51234)XRPLMeta (
https://s1.xrplmeta.org)
Setup
npm install
npm startnpm start runs the server over Streamable HTTP at http://127.0.0.1:3000/mcp by default.
For stdio mode (used by some local MCP clients and the all-tools harness), run:
npm run start:stdioRelated MCP server: IndigoProtocol/cardano-mcp
Environment Variables
LOS_BASE_URL(default:https://los.prod.ripplex.io)DATA_XRPL_BASE_URL(default:https://data.xrpl.org)XRPL_RPC_URL(default:https://s1.ripple.com:51234)XRPLMETA_BASE_URL(default:https://s1.xrplmeta.org)MCP_TRANSPORT(default:http, options:httporstdio)MCP_HTTP_HOST(default:0.0.0.0)MCP_HTTP_PORT(default:3000)MCP_HTTP_PATH(default:/mcp)
MCP Client Config (http, default)
{
"mcpServers": {
"xrpl-data": {
"transport": {
"type": "http",
"url": "http://127.0.0.1:3000/mcp"
}
}
}
}MCP Client Config (stdio, optional)
{
"mcpServers": {
"xrpl-data": {
"command": "node",
"args": ["/Users/ashraychowdhry/Documents/xrpl-data-mcp/src/server.js"],
"env": {
"LOS_BASE_URL": "https://los.prod.ripplex.io",
"DATA_XRPL_BASE_URL": "https://data.xrpl.org",
"XRPL_RPC_URL": "https://s1.ripple.com:51234",
"XRPLMETA_BASE_URL": "https://s1.xrplmeta.org"
}
}
}
}Response Formats
1) Low-level passthrough tools
Most low-level tools (los_*, vh_*, xrpl_*, validator_history_get, xrpl_public_api_call) return the upstream JSON payload in MCP text content.
Typical shapes:
XRPL RPC tools:
{ "result": { ... }, "status": "success", "warnings"?: [...] }VHS/LOS GET tools: service-native object/array response
2) Agent-first composite tools
These return a normalized envelope:
{
"data": {},
"sources": [{ "system": "LOS|VHS|rippled|XRPLMeta", "method": "...", "at": "..." }],
"freshness": { "asOfLedger": 0, "asOfTime": "..." },
"warnings": []
}3) Error format
On upstream/API/runtime failure, tools return MCP error content with isError: true and human-readable text (often including upstream HTTP status/body).
How To Use Tools
Call MCP tools with:
name: tool idarguments: JSON object matching the tool input schema below
Example:
{
"name": "xrpl_account_info",
"arguments": {
"account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"ledger_index": "validated"
}
}How To Use This Server (Step-by-step)
Install dependencies.
npm installStart the server locally.
npm startAdd the MCP server config to your MCP client (use the
httpconfig above by default).In your MCP client, run
tools/listto discover all available tools.Start with a simple connectivity check:
xrpl_server_infonetwork_overview
For entity-specific lookups, use
resolve_entitiesfirst, then call suggested tools.For topology-specific calls:
call
vh_topology_nodesfirsttake a
pubkeyfrom that responsecall
vh_topology_nodewith thatpubkey
For token/NFT-specific calls, discover live IDs first:
token:
los_get_trusted_tokensnft:
xrpl_nft_info/xrpl_nft_historyafter discovering annft_id
Run the full validation suite to verify end-to-end health:
node scripts/test-all-tools.mjs > /tmp/xrpl-mcp-test-results.jsonManually call a single tool over HTTP:
node scripts/test-http-tool.mjs http://127.0.0.1:3000/mcp xrpl_server_info '{}'
Full Tool Catalog (49)
Agent-first composite tools (12)
Tool | Description | Required arguments | Expected response format |
| Network identity, health summary, LOS freshness | none | Envelope: |
| Canonical ledger facts + LOS hints | none ( | Envelope: |
| Normalized transaction explanation/classification |
| Envelope: tx details, classification, token/entity hints |
| Account state/activity summary |
| Envelope: balances, trustlines, activity histogram, risk indicators |
| Consolidated issued-token view |
| Envelope: token metadata, holders/trustlines, liquidity/activity |
| Orderbook + AMM + recent LOS trades |
| Envelope: orderbook summary, AMM state, trade sample/VWAP |
| AMM state and swap activity | none ( | Envelope: AMM state, swap sample, aggregate volume |
| Validator set composition summary | none ( | Envelope: validator count, operator concentration, set sample |
| Validator reliability metrics |
| Envelope: validator profile + signed/missed/uptime-like metrics |
| Amendment enablement + context | none ( | Envelope: enabled amendments, vote context, network context |
| Filtered LOS transaction search + aggregates |
| Envelope: |
| Pattern-based XRPL entity resolver |
| Envelope: resolved entity type + suggested next tools |
LOS tools (4)
Tool | Description | Required arguments | Expected response format |
| Fetch one LOS token by tokenID ( |
| LOS token object |
| Batch fetch LOS tokens |
| LOS batch token response |
| List trusted/KYC tokens | none | LOS trusted token list ( |
| Query LOS transactions with paging/sort | none ( | LOS transaction query response ( |
Validator history tools (15)
Tool | Description | Required arguments | Expected response format |
| List tracked networks | none | VHS networks payload ( |
| Topology nodes for all/specific network | none ( | VHS topology nodes payload |
| Topology for a specific node pubkey |
| VHS topology node payload |
| List validators (optionally by group) | none ( | VHS validators payload |
| Validator detail |
| VHS validator profile |
| Validator manifest history |
| VHS manifest history payload |
| Validator reports |
| VHS validator reports payload |
| Daily validator reports collection | none | VHS daily report payload |
| Amendment metadata | none | VHS amendments info payload |
| Amendment info by name/id |
| VHS amendment detail payload |
| Amendment votes for a network |
| VHS amendment votes payload |
| Single amendment vote status |
| VHS amendment vote detail payload |
| VHS health summary | none | VHS health payload |
| VHS Prometheus metrics | none | Metrics text/structured payload returned as text |
| Generic VHS GET passthrough |
| Raw VHS response for requested path |
XRPL JSON-RPC tools (17)
Tool | Description | Required arguments | Expected response format |
| Account root info |
| XRPL RPC result object |
| Objects owned by account |
| XRPL RPC result object |
| Trust lines |
| XRPL RPC result object |
| Account tx history |
| XRPL RPC result object |
| Ledger by hash/index | none | XRPL RPC result object |
| Raw ledger state pages | none | XRPL RPC result object |
| Single ledger entry | none (one locator required by XRPL) | XRPL RPC result object |
| Transaction by hash |
| XRPL RPC result object |
| Orderbook offers |
| XRPL RPC result object |
| AMM pool info |
| XRPL RPC result object |
| NFToken state/metadata |
| XRPL RPC result object |
| NFToken ownership/transfer history |
| XRPL RPC result object |
| NFTs by issuer |
| XRPL RPC result object |
| Server status/validated range | none | XRPL RPC result object |
| Fee metrics | none | XRPL RPC result object |
| Generic JSON-RPC method call |
| XRPL RPC result object |
| Curated method list exposed by dedicated tools | none |
|
XRPLMeta tools (1)
Tool | Description | Required arguments | Expected response format |
| Generic XRPLMeta GET passthrough |
| Envelope: |
Input Discovery Notes (for reliable testing)
Some tools need live identifiers. The test harness discovers them first:
vh_topology_node.pubkey: taken fromvh_topology_nodesoutputvh_get_validator*/validator_health: taken fromvh_list_validatorstx_explain/xrpl_tx: tx hash fromxrpl_account_txxrpl_nft_info/xrpl_nft_history: NFT id from recent NFT transactionslos_get_token/ token-dependent tools: token fromlos_get_trusted_tokens
Test Results
Latest end-to-end live run (2026-02-20):
Tools tested:
49Passed:
49Failed:
0
Run command:
node scripts/test-all-tools.mjs > /tmp/xrpl-mcp-test-results.jsonDetailed output:
/tmp/xrpl-mcp-test-results.json/Users/ashraychowdhry/Documents/xrpl-data-mcp/docs/TEST_RESULTS.md
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only XRP Ledger MCP tools with proof-annotation envelopes and signed daily snapshots.
XRPL token rug-checks, issuer reputation & AMM data for AI agents. Pay-per-call USDC via x402.
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
Unified gateway exposing 150+ tools across all NexGenData MCP servers via one endpoint.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server providing comprehensive access to the XRP Ledger (XRPL). This service enables AI models to interact with XRPL through standardized endpoints.4-
- AlicenseNot gradedqualityCmaintenanceMCP server for Cardano blockchain data — exposes on-chain queries, address lookups, transaction history, token metadata, stake pool info, and network parameters to LLM agents.874MIT
- AlicenseAqualityBmaintenanceMCP server with 43 tools for blockchain data — token lookups, wallet balances, live chain queries across 10+ networks, and full API documentation search.27187Apache 2.0

Mina MCP Serverofficial
AlicenseAqualityCmaintenanceExposes Mina blockchain data and operations through 40+ MCP tools, supporting live public networks, a local tutorial lightnet, and archive snapshot analysis.5100Apache 2.0