Skip to main content
Glama

stellar-pulse-mcp

Read-only Stellar analytics for AI assistants, over the Model Context Protocol. Ask Claude (or any MCP client) about network health and fees, asset quality, DEX order books, accounts and DeFi on Stellar, and get structured answers from public APIs. No API keys. No signing. No transactions.

Existing Stellar MCP servers focus on building and sending transactions or developing Soroban contracts. This one is for the other half of the job: understanding what is happening on the network, and spotting what is not trustworthy.

Tool

What it answers

stellar_network_status

Latest ledger (age, transactions, failure rate, protocol version, base reserve) and fee levels

stellar_asset

Price, supply, holders, 7d volume, rating and look-alike warnings for an asset (XLM, USDC or CODE-ISSUER)

stellar_top_assets

Most active assets by volume, trades, payments, holders or StellarExpert rating

stellar_orderbook

SDEX order book for a pair: best bid/ask, mid, spread, depth within 1% and 5%

stellar_account

Balances, spendable XLM after reserve and open offers, signers, thresholds, clawback flag, recent payments

stellar_defi

Stellar DeFi from DefiLlama: TVL, rank among chains, leading protocols, TVL by category

Example prompts:

  • "Is the Stellar network congested right now, and what are fees doing?"

  • "Is this USDC the real one?" (give it USDC-G...; it checks the issuer, domain, holders and rating)

  • "How deep is the XLM/USDC book on the SDEX, and what is the spread?"

  • "How much XLM can this account actually spend?"

  • "What are the biggest DeFi protocols on Stellar and which are growing?"

Why the safety details matter

  • Many assets share a code. Anyone can issue a token called USDC. stellar_asset picks the most traded one when you give only a code, tells you how many others use the same code, and flags issuers with no verified home domain, a low rating, very few holders or no volume.

  • Secret keys are refused. A value starting with S is rejected immediately, before any network call, and never echoed back. Public addresses (starting with G) are all this server ever needs.

  • Spendable XLM is computed, not guessed: (2 + subentries + sponsoring - sponsored) x base reserve, minus XLM locked in open offers, with the reserve read from the latest ledger.

Related MCP server: stellar-copilot-mcp

Install

Requires Node.js 20 or newer. The quickest way is npx, no clone needed:

Claude Code

claude mcp add stellar-pulse -- npx -y stellar-pulse-mcp

On Windows, run it from cmd (PowerShell swallows the --) and wrap npx so Claude Code can start it:

claude mcp add stellar-pulse -- cmd /c npx -y stellar-pulse-mcp

Add -s user to make it available in every folder, not just the current project.

Claude Desktop

{
  "mcpServers": {
    "stellar-pulse": {
      "command": "npx",
      "args": ["-y", "stellar-pulse-mcp"]
    }
  }
}

On Windows use "command": "cmd" with "args": ["/c", "npx", "-y", "stellar-pulse-mcp"].

Published on npm and in the official MCP Registry as io.github.markankamaransheogarat-sys/stellar-pulse-mcp.

To run it from source instead:

git clone https://github.com/markankamaransheogarat-sys/stellar-pulse-mcp.git
cd stellar-pulse-mcp
npm install
npm run build
node dist/index.js

Details

  • Data sources: Horizon (ledgers, fees, accounts, order books), StellarExpert (asset statistics and ratings) and DefiLlama (TVL). Mainnet only.

  • Units: Horizon amounts are decimal units; StellarExpert supplies and volumes come in stroops and are converted (1 XLM = 10,000,000 stroops).

  • One source down is not a failure. Where a tool combines sources, it answers from what is reachable and lists what failed in an errors field.

  • Caching: 3 to 4 seconds for ledger-level data, 60 seconds for StellarExpert, 5 minutes for DefiLlama, so free tiers are not hammered. Simultaneous identical requests share one call.

  • Depth counts the best 100 levels per side of the SDEX book. Liquidity pools and Soroban DEXes are not included.

  • Not financial advice. Snapshots of public data, seconds to minutes old.

Development

npm run typecheck   # tsc --noEmit over src and tests
npm test            # vitest, all HTTP mocked
npm run build       # compile to dist/
npm run smoke       # live check against the real APIs (needs a build first)

src/sources/* talk to one API each, src/tools/* hold the logic and register one MCP tool each, src/stellar.ts validates account ids and asset references, src/http.ts is the shared client (timeout, bounded retries, TTL cache).

A sibling project, crypto-pulse-mcp, does the same for cross-exchange prices, perpetual funding and stablecoin flows.

License

MIT

Available Tools

6 tools
stellar_accountStellar account overviewA
Read-onlyIdempotent

Public overview of a Stellar account: balances, spendable XLM after the reserve and open-offer liabilities, signers and thresholds, flags such as clawback, and the latest payments. Takes a public address starting with G.

Inputs: account (required), payments_limit.

stellar_assetStellar asset profileA
Read-onlyIdempotent

Price, supply, holders, 7-day volume, StellarExpert rating and verification flags for a Stellar asset. Accepts XLM, a code like USDC (picks the most traded one and lists look-alikes) or an exact CODE-ISSUER. Use it to check an issuer before trusting a token.

Inputs: asset (required).

stellar_defiStellar DeFi overviewB
Read-onlyIdempotent

DeFi on Stellar from DefiLlama: total value locked, rank among all chains, the leading protocols with 1d/7d change, and TVL by category (lending, DEX, yield...).

Inputs: limit.

stellar_network_statusStellar network health and feesB
Read-onlyIdempotent

Latest Stellar ledger (sequence, age, transactions, failure rate, protocol version, base reserve) and current fee levels (base fee, charged fee percentiles, capacity use, surge pricing).

Inputs: no named parameters.

stellar_orderbookSDEX order bookA
Read-onlyIdempotent

Order book of a pair on the Stellar DEX: best bid/ask, mid price, spread and resting depth within 1% and 5%, plus the top levels. Assets can be XLM, a code like USDC (most traded issuer is used and disclosed) or CODE-ISSUER.

Inputs: base (required), counter (required), levels.

stellar_top_assetsTop Stellar assetsA
Read-onlyIdempotent

The most active Stellar assets ranked by 7-day volume, trades, payments, holders or StellarExpert rating.

Inputs: limit, sort_by.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a clearly distinct Stellar domain area: network status, single asset details, ranked asset list, DEX order book, account overview, and DeFi TVL. The only potential overlap, stellar_asset vs stellar_top_assets, is clearly separated by single-asset lookup versus ranked discovery. An agent can confidently select the right tool from the descriptions.

    Naming Consistency5/5

    All tools use a consistent snake_case pattern with the same stellar_ prefix and descriptive noun phrases. There is no mixing of camelCase, vague verbs, or alternative naming conventions. The set reads as a cohesive namespace.

    Tool Count5/5

    Six tools is well within the ideal range for a focused Stellar analytics server. Each tool covers a distinct data surface, and none feels redundant or tacked on. The scope is narrow enough that six tools fully express the server's purpose.

    Completeness4/5

    The surface covers the core Stellar pulse workflows: network conditions, asset discovery and verification, DEX liquidity, account state, and DeFi TVL. Minor gaps remain around transaction-level lookup, historical trends, and Soroban/contract data, but these are workarounds rather than dead ends for the stated monitoring purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Exposes 17 read-only tools from six XRPL-Utilities services so AI agents can access XRPL wallet analysis, signal feeds, macro telemetry, permissioned asset stacks, RWA tracking, and ETF flow data.
      41
      493 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Stellar that enables AI assistants to explain account holdings, diagnose transaction failures, and describe Soroban contracts in plain language, with optional payment proposal flow.
      3
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP hosts like Cursor and Claude to query StellarExpert's public Open API for directory entries, asset information, and ledger helper data through exposed tools.
      12
      12 npm
      1
      MIT