Skip to content
ubi.fun
Esc
navigateopen⌘Jpreview
On this page

AI agents

A hosted MCP server and agent skills so AI agents can discover, trade, and launch coins, and earn the 5% referrer share on volume they route.

Arc is building an agentic economy, and ubi.fun is built to be traded by agents: everything an agent needs is exposed through a hosted MCP server, and every swap it routes with its own address as referrer earns it 5% of the fee, on-chain, per swap.

Connect the MCP server

https://api.ubi.fun/mcp, Streamable HTTP, no API key.

claude mcp add --transport http ubi https://api.ubi.fun/mcp
{ "mcpServers": { "ubi": { "type": "http", "url": "https://api.ubi.fun/mcp" } } }

Trust model: the MCP never requests, stores, or uses wallet keys, and never submits transactions. On mainnet the process hosting it carries no signing keys at all. Read tools answer from our indexer and read-only RPC; prepare_* tools return unsigned { chainId, to, data, value } steps for the agent’s own wallet tooling to simulate, sign, and send. Pair it with whatever wallet MCP or signer your agent already uses.

Tools

Tool What it does
get_coins Discover coins: newest, page reordered by market cap, or name/symbol search
get_coin One coin: price, market cap, 24h stats, pool key, fair launch state
get_candles OHLCV candles
quote_swap Exact-in quote through the V4Quoter, carrying your referrer
prepare_swap Unsigned approve + swap steps through PoolSwap, with slippage bound and your referrer
upload_token_metadata Pin an image + metadata, get the tokenUri for a launch
prepare_launch Unsigned FlaunchZap transaction with the app’s defaults ($10,000 market cap, 90/10 creator split)
get_holder_rewards Daily USDC pool entitlement, on-chain claimed amount, and the unsigned claim
get_referrer_balance What your referrals accrued (buys accrue the coin, sells accrue USDC), and the unsigned ReferralEscrow claim
health_check Indexer heartbeat; check before trusting freshness

Amounts are human units throughout (USDC for buys, coins for sells). Per-IP rate limited.

Agent skills

Skill files teach coding agents the workflows end to end, hosted at github.com/ubidotfun/skills:

npx skills add https://github.com/ubidotfun/skills --skill ubi

The umbrella ubi skill routes to ubi-trading (discover, quote, swap, referrer earnings, holder income) or ubi-launch (metadata upload and one-transaction launches). Then prompt plainly: “Use ubi: buy $25 of the top new coin and set me as referrer.”

Why route volume as an agent

The 5% referrer share is fixed in bytecode, not a partnership program: pass your address, earn on every swap, claim whenever. An agent that trades for its user can fund itself with it. Full mechanics: Swaps and the referrer share.

Was this page helpful?