AI assistant
Ask Claude, Cursor or another AI assistant about your guild through the hub's MCP server.
The hub is an MCP server. Connect an AI assistant to it and ask "what did Stefan do all day?", "who has a Tumeken's shadow?", "how much am I worth compared to last week?" or "who killed the most Zulrah this month?". The assistant answers from the same read-only data the API serves, through a key you made.
Read-only, and never more than the key
Every tool only reads, and only what a REST endpoint also serves. The assistant sees what the key sees: your own key sees what you see, narrowed to its categories and accounts. Revoke the key and the assistant is cut off on its next question.
Connect
The address is https://<your hub>/api/v1/mcp.
- In Claude, open Settings → Connectors → Add custom connector.
- Enter a name and the address
https://<your hub>/api/v1/mcp. Leave the rest empty. - Claude sends you to your hub. Sign in with Discord as usual.
- The hub shows what the assistant asks for. Press Allow.
Allow adds a key named after the assistant to your API keys page, marked "Connected assistant", with the categories below on every account you can see. There is nothing to copy. Edit that key to let the assistant read more or less, and revoke it to disconnect. Connecting again replaces the key.
This needs your hub on public HTTPS.
A key for an assistant
On API keys, click Create key, then For an AI assistant. That names the key "AI
assistant" and ticks stats, events, activity, location_history, equipment, inventory
and hiscores. Add location_live for "where is X right now". Pick the accounts if the assistant
should only see some. See API keys.
A key made on a hub from before gear and wealth were part of this (hub D-140), including one Claude.ai
made when you connected, lacks equipment and inventory. Edit it on API keys, or connect again,
and the assistant can answer gear and wealth questions.
When the key can't read something, the tool says so ("this key can't read Alpha Main's XP: it needs
the stats category"), so the assistant can tell you why instead of guessing.
What it can answer
| Tool | Answers | Needs |
|---|---|---|
list_accounts | the accounts the key sees, who is online and on which world | (activity for online) |
get_account | levels, online and world, gear, inventory, wealth, the slayer task, run energy, special attack, poison and running effects | the section's category |
get_gains | XP gained per skill over a day, week, month, year or dates | stats |
recent_events | events, newest first: drops, levels, deaths, log slots | events |
search_events | the drops of an item or from an NPC, deaths to it | events |
leaderboard | the top gainers of a skill, the biggest drops, or the most boss kills per boss | stats, events or hiscores |
get_hiscores | kill counts, clues, minigames, ranks from the official hiscores | hiscores |
collection_log | an account's log: the total and the slots the hub saw | events or hiscores |
who_has | who in the guild logged an item, and when | events |
sessions | when an account played | activity |
locations | where an account went: the places and the time spent there | location_history |
day_summary | one account's day in one call: playtime, XP, drops, places | any of activity, stats, events, location_history |
wealth | wealth over time: bank, inventory and gear now, the change since the start, the best and worst day, a value per day | inventory |
progress | an account's Progress page for today, 7, 30 or 90 days or a year: time online and active, where the time went, XP and XP/h per skill, loot, boss kills gained, the change in wealth, goals | per section: activity and stats for playtime, stats, events, hiscores, inventory |
gear_history | what an account wore, as trips with the kit brought for each | equipment |
The assistant also gets the list of accounts (so it can match names) and four ready-made prompts: the guild's day, one player's day, one player's week, and who has an item.
Answers are short: a one-line summary first, names before ids, values like 35.2M, at most 50
rows. day_summary and progress take dates in your own time zone (your hub settings); the other
tools take UTC dates.
Wealth counts the bank from the first time the plugin read it (open your bank once), plus what you carry and wear at Grand Exchange prices. Boss kills come from the official hiscores, which the hub reads after each session, so a kill shows up after the next read.
Limits
Every question the assistant sends is one request against the key's limit: 120 a minute for your own key. An assistant usually makes one to three calls per question.