XRPL MCP Server

XRPL MCP Server

xrpl-mcp-server•bylgcarrier

An MCP server that gives AI assistants structured access to XRP Ledger data and network actions.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides tools to query XRPL account information such as balances and sequence numbers, returning a structured result.
  • •Supports querying account trust lines, owned NFTs, transaction history, and individual transaction details.
  • •Can inspect DEX order book offers, retrieve XRPL server status, and submit signed transactions to the network.

BEST FOR

  • •AI assistants that need structured access to live XRP Ledger account data.
  • •Users who want an assistant to inspect XRPL DEX order book offers.
  • •Users who intend to broadcast real signed XRPL transactions through an assistant.

ABOUT XRPL-MCP-SERVER

XRPL MCP Server is cataloged as an MCP server attributed to lgcarrier. An MCP server that gives AI assistants structured access to XRP Ledger data and network actions. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for XRPL MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a9b297be2d23 · 采集于 2026-11-13 10:14:18 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

XRPL MCP Server

An MCP server that gives AI assistants structured access to XRP Ledger data and network actions.

Requirements

  • Python 3.10 or newer

Features

  • Get account balances and sequence numbers
  • Query trust lines and issued currencies
  • View NFTs owned by an account
  • Retrieve account transaction history
  • Fetch individual transaction details
  • Inspect DEX order book offers
  • Retrieve XRPL server status
  • Submit signed transactions

Package Chooser

Pick the install target that matches how you plan to use the server.

PackagePyPIInstallUse when
Published packagePyPI versionpython -m pip install iflow-mcp_lgcarrier-xrpl-mcp-serverRecommended if you want the packaged CLI/server immediately and do not need an editable checkout.
Source checkout—python -m pip install -e ".[dev]"You are developing in this repo, running tests, or using the local mcp dev / mcp install workflows below.

Quickstart

The quickstart below is the source-checkout path for local development and MCP registration. If you only need the published package, use the PyPI install command above.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
mcp install src/xrpl_mcp_server/server.py:mcp --with-editable .

First prompt to try:

What is the XRP balance and sequence number for account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe?

Installation

From source

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

This installs the package in editable mode and includes the mcp CLI used for local development and Claude Desktop integration.

From PyPI

The published package name is different from the GitHub repository name.

python -m pip install iflow-mcp_lgcarrier-xrpl-mcp-server

Configuration

The server uses the following environment variable:

  • XRPL_NODE_URL: XRP Ledger JSON-RPC endpoint. Default: https://s1.ripple.com:51234/

Safety Note

By default, the server connects to Ripple's public mainnet endpoint. That means:

  • read-only tools query live mainnet data
  • submit_transaction submits a signed transaction to the live XRP Ledger network

Only use submit_transaction when you intend to broadcast a real signed transaction.

For testing, point the server to testnet before launching it:

export XRPL_NODE_URL="https://s.altnet.rippletest.net:51234/"
python -m xrpl_mcp_server

You can also install the Claude Desktop entry with the environment variable set:

mcp install src/xrpl_mcp_server/server.py:mcp --with-editable . \
  --env-var XRPL_NODE_URL=https://s.altnet.rippletest.net:51234/

Usage

Run directly from source

python -m xrpl_mcp_server

Run as an installed package

xrpl-mcp-server

Inspect locally with the MCP Inspector

mcp dev src/xrpl_mcp_server/server.py:mcp --with-editable .

Install into Claude Desktop

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

If you prefer uv, the equivalent commands are uv run mcp dev ... and uv run mcp install ....

Available Tools

All tools keep their existing names and arguments. Successful calls return structured MCP outputs instead of plain text or JSON-encoded strings.

get_account_info

Parameters:

  • address (string): XRP Ledger account address

Returns a structured object with:

  • account
  • balance_drops
  • balance_xrp
  • sequence

get_account_lines

Parameters:

  • address (string): XRP Ledger account address
  • peer (string, optional): Counterparty account filter
  • limit (integer, optional): Maximum number of trust lines

Returns the XRPL account_lines result object.

get_account_nfts

Parameters:

  • address (string): XRP Ledger account address
  • limit (integer, optional): Maximum number of NFTs

Returns the XRPL account_nfts result object.

get_account_transactions

Parameters:

  • address (string): XRP Ledger account address
  • limit (integer, optional): Maximum number of transactions
  • binary (boolean, optional): Return transactions in binary form
  • forward (boolean, optional): Search forward through ledger history

Returns the XRPL account_tx result object.

get_server_info

Returns the XRPL server_info result object.

submit_transaction

Parameters:

  • tx_blob (string): Signed transaction blob in hex format

Returns the XRPL submit result object.

get_transaction_info

Parameters:

  • transaction_hash (string): Transaction hash

Returns the XRPL tx result object.

get_book_offers

Parameters:

  • taker_gets (object): Currency/issuer object the taker wants to receive
  • taker_pays (object): Currency/issuer object the taker wants to pay
  • limit (integer, optional): Maximum number of offers

Returns the XRPL book_offers result object.

Errors

Tool failures are returned as MCP tool errors rather than success payloads. Common cases include:

  • account lookups for missing addresses, such as actNotFound
  • transaction lookups for unknown hashes, such as txnNotFound
  • upstream XRPL request failures, including submission errors and transport exceptions

Example not-found error:

Account rMissingExampleAddress not found on the ledger.

Example submission error:

Submitting transaction failed: tefFAILURE: submission rejected

Examples

get_account_info

Prompt:

What is the balance of the XRP account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe?

Structured result:

{
  "account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "balance_drops": "25500000",
  "balance_xrp": "25.5",
  "sequence": 123456
}

get_account_transactions

Prompt:

Show me the two most recent transactions for rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe.

Representative result shape:

{
  "account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "ledger_index_max": 98765432,
  "ledger_index_min": 98765400,
  "transactions": [
    {
      "tx": {
        "hash": "ABC123...",
        "TransactionType": "Payment"
      },
      "validated": true
    },
    {
      "tx": {
        "hash": "DEF456...",
        "TransactionType": "TrustSet"
      },
      "validated": true
    }
  ]
}

get_book_offers

Prompt:

Show me the first three book offers for XRP/USD on the XRPL DEX.

Representative result shape:

{
  "ledger_current_index": 98765432,
  "offers": [
    {
      "Account": "rOfferMaker1",
      "Sequence": 100,
      "quality": "0.5"
    },
    {
      "Account": "rOfferMaker2",
      "Sequence": 101,
      "quality": "0.51"
    }
  ]
}

Development

Run the test suite:

pytest

License

MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for XRPL MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/xrpl-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics