Skip to content
For AI agents: the documentation index is at https://getmoonup.com/llms.txt. This page is available as markdown at https://getmoonup.com/docs/agents.md.

AI Agents: MCP Server and REST API

MoonUp exposes read-only basket data to AI agents (OpenClaw, Hermes, Meta Muse, Claude, or any MCP client). There is no account data and no trading. No key is required; requests are rate limited, so prefer one bulk call over many single calls.

Connect

Interface Address
MCP server (Streamable HTTP) https://agents.getmoonup.com/mcp
REST base URL https://agents.getmoonup.com/v1
Agent skill (agentskills.io) https://getmoonup.com/skill.md

Most MCP clients accept the server URL directly. For example, in Claude Code:

claude mcp add --transport http moonup https://agents.getmoonup.com/mcp

Tools and endpoints

Task MCP tool REST endpoint
List every basket list_baskets GET /v1/baskets
One basket with its holdings get_basket GET /v1/baskets/{id}
Backtested performance of all or some baskets get_baskets_performance GET /v1/baskets/performance
Weight history of one basket get_basket_weight_history GET /v1/baskets/{id}/weights/history

Example:

curl "https://agents.getmoonup.com/v1/baskets/performance?floorPct=0.3&period=P3Y"

Parameters

Parameter Applies to Values
floorPct Performance Protection level, 0 to 0.8 in steps of 0.05
period Performance P1Y, P2Y, P3Y or ALL
basketIds Performance Optional comma-separated list, for example a,b; all baskets when omitted
includeSeries Performance Optional true to include the time series
locale Every endpoint Optional en, es, ru or uk

Reading the results

  • Returns are decimals: 0.12 means 12%. Weights (weightPct) are already percentages.
  • In backtests the floor is a fixed share of the starting capital of the period: 0.8 puts the floor at 80% of the initial amount. It does not ratchet up with gains, so after strong growth the position is fully invested and drawdown from the peak can be large (about 45% at 0.8 over 3Y for a volatile basket). Protection limits loss of the initial capital, not drawdown from the peak.
  • Performance figures are backtested and hypothetical, not actual trading results. Relay the disclaimer field with them.

For how the floor, cushion and multiplier work in live positions, see the Protected Basket white paper and the glossary.

Usage rules

  • The interface is read-only: it returns no account data and cannot trade.
  • MoonUp does not provide investment advice or guarantee outcomes. Do not present backtests as predictions.
  • Asset and feature availability varies by region.