Stellar Pulse Mcp

io.github.markankamaransheogarat-sys由 GitHub 账号 markankamaransheogarat-sys 发布v0.1.0更新于 Oct 29, 2026

Read-only Stellar analytics: network and fees, asset checks, SDEX books, accounts, DeFi.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

只读的 Stellar 分析 MCP 服务器:通过公共 API 提供网络与手续费、资产核查、SDEX 订单簿、账户概览和 DeFi 数据。

可以做什么
  • 查看网络状况:最新账本统计与当前手续费水平
  • 查询资产:价格、供应量、持有人、成交量、评级、发行方及仿冒提醒
  • 按成交量、交易数、支付数、持有人或评级排列最活跃资产
  • 查看 SDEX 订单簿:最优买卖价、价差以及 1% 和 5% 范围内的深度
  • 查看公开账户:余额、可花费 XLM、签名者、阈值、标志位和最近支付
  • 汇总 Stellar DeFi:TVL、链排名、头部协议及按类别划分的 TVL
适用场景
适合让助手回答关于 Stellar 主网的问题:网络是否拥堵与手续费走势、某个代币是否为真实发行方、订单簿深度与价差、账户实际可花费多少 XLM,以及哪些 DeFi 协议在增长,且不涉及构建或签名交易。
运行要求
通过 npx(npm 包 stellar-pulse-mcp)以 stdio 在本地运行,需要 Node.js 20 或更高版本。无需 API 密钥、账户或环境变量;它会访问 Horizon、StellarExpert 和 DefiLlama 的公共接口,因此需要网络连接。仅支持主网。
安装前请注意
只读:不签名、不发送交易,并在任何网络请求前拒绝以 S 开头的值,因此切勿粘贴私钥。只需以 G 开头的公开地址。同一资产代码可能被多个发行方使用,信任代币前应核对发行方。数据为缓存的公共数据快照,不构成投资建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Stellar Pulse Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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.

ToolWhat it answers
stellar_network_statusLatest ledger (age, transactions, failure rate, protocol version, base reserve) and fee levels
stellar_assetPrice, supply, holders, 7d volume, rating and look-alike warnings for an asset (XLM, USDC or CODE-ISSUER)
stellar_top_assetsMost active assets by volume, trades, payments, holders or StellarExpert rating
stellar_orderbookSDEX order book for a pair: best bid/ask, mid, spread, depth within 1% and 5%
stellar_accountBalances, spendable XLM after reserve and open offers, signers, thresholds, clawback flag, recent payments
stellar_defiStellar 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.

Install

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

Claude Code

bash
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:

bat
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

json
{  "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:

bash
git clone https://github.com/markankamaransheogarat-sys/stellar-pulse-mcp.gitcd stellar-pulse-mcpnpm installnpm run buildnode 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

bash
npm run typecheck   # tsc --noEmit over src and testsnpm test            # vitest, all HTTP mockednpm 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

来源:README.md,提交 dd88fb7

工具

6

stellar_network_status

Stellar network health and fees

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).

无需输入参数。

stellar_asset

Stellar asset profile

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.

输入参数asset必填

stellar_top_assets

Top Stellar assets

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

输入参数limitsort_by

stellar_orderbook

SDEX order book

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.

输入参数base必填levelscounter必填

stellar_account

Stellar account overview

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.

输入参数account必填payments_limit

stellar_defi

Stellar DeFi overview

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...).

输入参数limit

版本历史

1
  1. v0.1.0最新Oct 22, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分