XRP Ledger

v1.0.0Finance & Fintechstable

XRP Ledger MCP Server

xrplmcpai-integration
Share:
11
Stars
0
Downloads
0
Weekly
0/5

What is XRP Ledger?

XRP Ledger is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to xrp ledger mcp server

XRP Ledger MCP Server

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • XRP Ledger MCP Server

Use Cases

Access and interact with XRP Ledger blockchain through MCP.
Automate XRP transactions and queries using AI.
lgcarrier

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMar 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx xrpl

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use XRP Ledger

The XRPL MCP Server is a Python package that exposes XRP Ledger JSON-RPC queries as MCP tools, allowing AI assistants to look up account balances, transaction history, NFTs, order book offers, and server status, as well as submit signed transactions. It connects to any XRP Ledger node via a configurable endpoint and defaults to the Ripple mainnet, with testnet support via environment variable.

Prerequisites

  • Python 3.10 or newer
  • pip for package installation
  • An XRP Ledger node URL (defaults to https://s1.ripple.com:51234/ for mainnet, or use Ripple testnet)
  • An XRP account address for account-specific queries (no private key required for read operations)
1

Install from PyPI

Install the XRPL MCP server package using pip. This is the recommended method.

pip install iflow-mcp_lgcarrier-xrpl-mcp-server
2

Install from source (alternative)

Clone the repository and install in editable mode if you want to modify the server or run the latest development version.

git clone https://github.com/lgcarrier/xrpl-mcp-server.git
cd xrpl-mcp-server
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
3

Configure the XRP Ledger node URL

Set the XRPL_NODE_URL environment variable to point to your preferred node. Omit it to use the Ripple mainnet default.

# Mainnet (default — no variable needed)
export XRPL_NODE_URL="https://s1.ripple.com:51234/"

# Testnet
export XRPL_NODE_URL="https://s.altnet.rippletest.net:51234/"
4

Register with Claude Desktop using mcp install

Use the built-in mcp install command to register the server with Claude Desktop automatically.

mcp install src/xrpl_mcp_server/server.py:mcp --with-editable .
5

Or configure manually in claude_desktop_config.json

Add the server manually to your MCP client configuration, passing the node URL as an environment variable.

{
  "mcpServers": {
    "xrpl": {
      "command": "python",
      "args": ["-m", "xrpl_mcp_server.server"],
      "env": {
        "XRPL_NODE_URL": "https://s1.ripple.com:51234/"
      }
    }
  }
}

XRP Ledger Examples

Client configuration

claude_desktop_config.json entry for the XRPL MCP server connecting to the Ripple mainnet node.

{
  "mcpServers": {
    "xrpl": {
      "command": "python",
      "args": ["-m", "xrpl_mcp_server.server"],
      "env": {
        "XRPL_NODE_URL": "https://s1.ripple.com:51234/"
      }
    }
  }
}

Prompts to try

Use these prompts after connecting Claude to the XRPL MCP server to query ledger data.

- "What is the XRP balance and sequence number for account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe?"
- "Show me the two most recent transactions for rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe"
- "List all NFTs owned by account rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
- "Show me the first three book offers for XRP/USD on the XRPL DEX"
- "What is the current state of the XRP Ledger server — uptime, ledger version, and load?"

Troubleshooting XRP Ledger

pip install fails with package not found

The PyPI package name is 'iflow-mcp_lgcarrier-xrpl-mcp-server' (with underscores and hyphens as shown). If it fails, install from source using the git clone method and 'pip install -e .'.

Connection errors when querying the ledger

Verify the XRPL_NODE_URL is reachable with 'curl https://s1.ripple.com:51234/' — it should return a JSON response. If on testnet, ensure the testnet URL 'https://s.altnet.rippletest.net:51234/' is correctly set.

submit_transaction returns an error

The submit_transaction tool requires a pre-signed transaction blob in hex format (tx_blob). Signing must be done externally using the xrpl-py library or a hardware wallet before calling this tool — the MCP server does not hold or manage private keys.

Frequently Asked Questions about XRP Ledger

What is XRP Ledger?

XRP Ledger is a Model Context Protocol (MCP) server that xrp ledger mcp server It connects AI assistants to external tools and data sources through a standardized interface.

How do I install XRP Ledger?

Follow the installation instructions on the XRP Ledger GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with XRP Ledger?

XRP Ledger works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is XRP Ledger free to use?

Yes, XRP Ledger is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "xrpl": { "command": "npx", "args": ["-y", "xrpl"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use XRP Ledger?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides