π KING MAKER Β· Learn Β· EspaΓ±ol
KING MAKER for AI agents
Add https://kingmaker.guru/api/mcp as a remote MCP server (Streamable HTTP) and your agent can read KING Scan memecoin scores, smart-money buys, token safety reports, Hyperliquid perps markets and REX AI perps ideas with entry, stop and target. It works without a key on a free tier. It is read-only: no tool can hold, move or trade anyone's funds.
Quickstart (1 minute)
- Claude, ChatGPT, Cursor: add a custom connector / MCP server with the URL
https://kingmaker.guru/api/mcp. - Claude Code: run the one-line command below.
- Ask: βWhat are REX AI's perps ideas right now?β or βIs this Solana token safe? 5e6UpV58RKGiJPsJ8NuLWYtUHLyJViGEa6TTyap7QG8kβ
- Need more than the free tier? Create an API key in the app and send it as
Authorization: Bearer km_β¦. Prices: /developers.
Claude Code
claude mcp add --transport http kingmaker https://kingmaker.guru/api/mcp
Example clients
Raw JSON-RPC with curl (stateless, no session needed)
# 1. List the tools (no key needed)
curl -s https://kingmaker.guru/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# 2. Call one
curl -s https://kingmaker.guru/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"perps_markets","arguments":{"sort":"volume","limit":5}}}'TypeScript (official MCP SDK)
// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const key = process.env.KM_KEY; // optional: km_β¦ from the app (Wallet β Advanced β KING Credits)
const transport = new StreamableHTTPClientTransport(new URL("https://kingmaker.guru/api/mcp"), {
requestInit: key ? { headers: { Authorization: `Bearer ${key}` } } : undefined,
});
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);
const ideas = await client.callTool({ name: "rexai_ideas", arguments: { coin: "SOL" } });
const report = await client.callTool({ name: "token_report", arguments: { mint: "5e6UpV58RKGiJPsJ8NuLWYtUHLyJViGEa6TTyap7QG8k" } });
console.log(ideas.content, report.content); // JSON text blocks
await client.close();Python (official MCP SDK)
# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
async with streamablehttp_client("https://kingmaker.guru/api/mcp") as (read, write, _):
async with ClientSession(read, write) as s:
await s.initialize()
r = await s.call_tool("kingscan_trending", {"limit": 5})
print(r.content[0].text) # JSON: tokens scored 0-100 + a separate "sponsored" list
asyncio.run(main())Tools
| Tool | What it returns |
|---|---|
rexai_ideas | REX AI perps ideas: side, confidence 0β100, entry, stop, target, reward/risk, max leverage, reasons. Optional coin. |
market_briefing | Daily market read: mood, BTC/ETH/SOL, REX TREND breakouts, live ideas, meme of the day. |
kingscan_trending | Trending Solana memecoins scored 0β100, plus a separate list labeled sponsored. |
smart_money_signals | Tokens several tracked profitable wallets bought in the last hours. |
token_report | One Solana mint: price, liquidity, holders, safety flags, KING Scan score. |
search_tokens | Find a Solana token by ticker or name. |
perps_markets | Hyperliquid markets: price, 24h change, funding, open interest, max leverage. |
flywheel_stats Β· boost_info | $KING buy-and-burn stats; sponsored slot prices. |
buy_boost | The only paid action: features a token in a sponsored slot, paid from the caller's own API credits. |
What agents can and cannot do
| Agents can | Agents cannot |
|---|---|
| β Read live scores, safety flags, smart-money buys and perps data | π« Hold, move, withdraw or send anyone's funds |
| β Get REX AI trade ideas and explain them to their user | π« Place trades, open perps or sign transactions for a user |
| β Link users to a token (/c/<mint>) or market (/p/<COIN>) to act there themselves | π« See private keys, seed phrases or users' wallets and balances |
| β Spend their own API credits on a labeled sponsored slot (buy_boost) | π« Turn on autopilot (REX TREND) for a user: only the user can, inside the app, with capped size and a stop on every trade |
Every trade in KING MAKER is signed by the user's own wallet (Privy, non-custodial). An agent recommends; the human decides and signs.
House rules for agents using this data
- Say it is data, not financial advice, and never promise profits.
- Show anything in a field named sponsored as sponsored.
- Perps aren't available in the US, Canada or the UK.
- Link the source: kingmaker.guru/c/<mint> for coins, kingmaker.guru/p/<COIN> for perps.
Where to find KING MAKER
- Official MCP Registry:
guru.kingmaker/kingmaker - MCP discovery file: kingmaker.guru/.well-known/mcp.json
- llms.txt (agent self-setup): kingmaker.guru/llms.txt
- OpenAPI (REST, same data): kingmaker.guru/api/openapi
- Ready-made skills for Claude / ChatGPT: kingmaker.guru/skills
- API keys and pricing: kingmaker.guru/developers
FAQ
- How do I connect an AI agent to KING MAKER?
- Add https://kingmaker.guru/api/mcp as a remote MCP server (Streamable HTTP) in Claude, ChatGPT, Cursor or any MCP client, or call it with plain JSON-RPC over HTTP. No key is needed on the free tier.
- Can an AI agent trade with my money through KING MAKER?
- No. The MCP server and REST API are read-only market data, plus one paid action (buy_boost) that spends the caller's own API credits. Trades happen only in the KING MAKER app, signed by your own wallet.
- Is the KING MAKER MCP server free?
- Yes, without a key: rate-limited per IP, with the top 3 REX AI ideas. With an API key each call costs 1 KING Credit (β$0.01; full REX AI ideas 5 credits) and failed calls are never charged.
- Which MCP clients work?
- Any client that supports remote MCP over Streamable HTTP: Claude (web, desktop, Claude Code), ChatGPT connectors, Cursor, VS Code, and the official TypeScript and Python MCP SDKs.
- Is there a REST API?
- Yes: GET https://kingmaker.guru/api/v1/{scan|signals|rexai|briefing} with the header x-api-key. Same data and prices as the MCP tools.
Data, not financial advice. Crypto and perps are risky; you can lose everything. Perps aren't available in the US, Canada or the UK.