mcp-osrs
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-osrs can my ironman start Dragon Slayer II and what should I bring?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-osrs
An MCP server for Old School RuneScape. It answers whole player questions in one call: "can I do Dragon Slayer II?", "what do I bring on each trip?", "how do I get these items as an ironman?", "what's a whip worth?". It combines the OSRS Wiki's structured data, Quest Helper's quest definitions, real-time Grand Exchange prices and the player's own account.
Answers are compact JSON under 12 KB, carry their source URLs and the age of any live data, and continue long lists with a cursor.
Install
Requires Node.js 20 or newer. The server speaks MCP over stdio and is started with npx.
Claude Code
claude mcp add -s user osrs -- npx -y @slest1/mcp-osrsClaude Desktop, Cursor, Windsurf, Gemini CLI
Add this to the client's MCP configuration file:
{
"mcpServers": {
"osrs": {
"command": "npx",
"args": ["-y", "@slest1/mcp-osrs"]
}
}
}Client | Configuration file |
Claude Desktop |
|
Cursor |
|
Windsurf |
|
Gemini CLI |
|
VS Code
In .vscode/mcp.json (or the user-level MCP configuration):
{
"servers": {
"osrs": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@slest1/mcp-osrs"]
}
}
}Codex CLI
codex mcp add osrs -- npx -y @slest1/mcp-osrsor in ~/.codex/config.toml:
[mcp_servers.osrs]
command = "npx"
args = ["-y", "@slest1/mcp-osrs"]Any other stdio client
Run npx -y @slest1/mcp-osrs as the server command. Settings go in environment variables (see Configuration).
From source
git clone https://github.com/slest1/mcp-osrs.git
cd mcp-osrs
npm ci
npm run build
node dist/index.js --versionPoint your client at node /path/to/mcp-osrs/dist/index.js.
Troubleshooting
npxnot found, or the server never starts from a desktop app. Desktop apps often don't inherit your shell'sPATH. Use the absolute path tonpx(fromwhich npx, orwhere npxon Windows) as the command.Updating.
npxcaches packages. Use@slest1/mcp-osrs@latestin the arguments to always get the newest release, or clear the npx cache.Checking the install.
npx -y @slest1/mcp-osrs --versionprints the version. Logs go to stderr as JSON lines; setLOG_LEVEL=debugfor more.
Related MCP server: osrs-wikisync-mcp
Tools
Group | Tool | What it answers |
Account |
| Save the player's name and mode so later answers are checked against it |
Account |
| Which account is saved and where it came from |
Account |
| Hiscores: levels, XP, ranks, boss kills, clues and combat level |
Account |
| WikiSync quests, diaries, collection log and combat achievements |
Wiki |
| Search the OSRS Wiki |
Wiki |
| Read an article or one section as clean text |
Wiki |
| List an article's sections |
Wiki |
| Query any wiki Bucket table directly |
GE |
| Live prices, margin after GE tax, volumes, buy limits, batch totals |
GE |
| Price history with low, high, average and % change |
Items |
| Item facts, equipment bonuses, versions and live price |
Items |
| How to get items or a quest's items, with a practical recommendation for each |
Items |
| A shop's stock, prices and restock times |
Items |
| Recipes that make or use an item, or train a skill |
Monsters |
| Stats, weaknesses, slayer info and map-linked locations |
Monsters |
| Drop table at live prices and expected gp per kill |
Quests |
| Can the player start it, prerequisites ✓/✗/?, rewards |
Quests |
| Quest Helper's steps, one section at a time |
Quests |
| What to bring on each trip, fitted to 28 slots |
Quests |
| The next quests in the optimal order the player can start |
Achievements |
| Diary requirements, tasks, completion and rewards |
Achievements |
| A slayer master's tasks, weights and chances |
Achievements |
| Combat achievement tasks, points and completion |
Skills |
| XP to a goal, actions and materials, best methods and XP quests |
Skills |
| Money-making methods by gp/hr that the account can do |
Clues |
| Solutions for anagrams, ciphers, cryptics and emote clues |
Personalization
Save an account once. Ask the assistant to save your name and mode (
set_account). Modes aremain,ironman,hardcore_ironman,ultimate_ironman,deadmanandseasonal. The account is stored in a small JSON file (seeOSRS_STATE_FILE). Without a saved account, answers are generic and the first personal question includes a one-time hint.A
playerargument overrides the saved account for one call.Hiscores give skill levels to every tool that checks requirements.
WikiSync is opt-in: install the WikiSync plugin in RuneLite and log in. It unlocks quest, diary, collection log and combat achievement checks, quest points and finished-quest skipping in suggestions. Without it those checks show
?. Deadman accounts have no WikiSync data.Ironman modes get Quest Helper's ironman quest data, the ironman quest order, procurement plans that never use the GE, and ironman notes on quests.
Configuration
Every setting is optional and read from the environment. Invalid values stop the server at startup with a message naming the variable.
Variable | Default | Meaning |
| none | Default player name until one is saved with |
|
| Default account mode |
|
| Saved-account file; |
|
| Where the quest data release is cached |
|
| Wiki API |
|
| Real-time prices API |
|
| Official hiscores |
|
| WikiSync |
|
| Quest data release |
|
| Response size cap |
|
| In-memory response cache size |
|
| Concurrent requests per host |
|
| Timeout per request |
|
|
|
For example, in an mcpServers entry:
"env": { "OSRS_ACCOUNT": "Zezima", "OSRS_ACCOUNT_MODE": "ironman" }Data sources
Source | Used for | Cached |
OSRS Wiki Action API and Bucket tables | Articles, items, monsters, drops, shops, recipes, quests, diaries, clues, money making | 1 hour; large catalogs 24 hours |
Item mapping, latest prices, averages, history | 1 minute to 24 hours | |
Official hiscores | Skills, bosses, clues | 5 minutes |
Quests, diaries, collection log, combat achievements | 5 minutes | |
osrs-data releases | Quest Helper quest data, verified by sha256 | On disk, checked daily; a bundled snapshot is the fallback |
Every request sends the User-Agent mcp-osrs/<version> (+https://github.com/slest1/mcp-osrs), respects a per-host concurrency limit, and retries with backoff that honours Retry-After.
Development
npm ci
npm run check # typecheck, lint and tests
npm run build # compile to dist/
npm run dev # run from source with tsxScript | Does |
| Run the server from source |
| Compile to |
| Run the compiled server |
| TypeScript, no emit |
| Biome check, or check and fix |
| Vitest |
| typecheck, lint and test |
| Re-record the HTTP fixtures from the live APIs (optionally only named scenarios) |
Tests never touch the network: they replay recorded responses from test/fixtures/<host>/, and the integration tests drive the real server through an MCP client over an in-memory transport. To add or refresh fixtures, add a scenario to test/support/scenarios.ts and run npm run fixtures:record -- <scenario>.
A weekly CI job (the drift canary) re-records every scenario, runs the tests against the fresh recordings, compares src/sources/wiki/tables.ts with the live Bucket schemas (scripts/check-drift.ts) and checks the bundled quest data against the latest osrs-data release.
docs/extending.md has step-by-step recipes for adding tools, data sources, wiki tables and more.
Licence and attribution
The MIT licence (see
LICENSE) covers this project's code only.Wiki content, both fetched at runtime and recorded in
test/fixtures/, is from the Old School RuneScape Wiki under CC BY-NC-SA 3.0, the licence the wiki declares; answers link the pages they draw on.test/fixtures/NOTICElists the sources of every recorded response.The bundled quest data in
data/osrsdata/comes from Quest Helper by Zoinkwiz and contributors, under the BSD 2-Clause License, via the osrs-data releases;data/osrsdata/NOTICEhas the licence text, and it ships in the npm package. Quest answers carry this attribution.Prices come from the OSRS Wiki real-time prices API.
Hiscores are Jagex's public data. Old School RuneScape is a trademark of Jagex Ltd; this project is not affiliated with Jagex.
Available Tools
26 toolsfind_item_sourcesWhere to get itemsARead-onlyIdempotent
Use when the player needs to get items, or every item for a quest: shops, ground spawns, drops, recipes and, for non-ironmen, the GE. Each item leads with a practical recommendation and its reason, with skill checks against the account.
Inputs: depth, items, quest, cursor, +2 more.
find_recipesFind recipesARead-onlyIdempotent
Use for how to make an item, what an item is used in, or what a skill can make: levels, XP per action, materials, tools and facilities. Without maxLevel, results are filtered to the player's levels.
Inputs: skill, cursor, player, product, +2 more.
get_accountSaved accountARead-onlyIdempotent
Use when asked which account is saved. Returns the saved name and mode and where they came from.
Inputs: no named parameters.
get_combat_achievementsCombat achievementsARead-onlyIdempotent
Use for combat achievement tasks for a monster or tier. Returns points per task and done or not done from WikiSync.
Inputs: tier, cursor, player, monster.
get_diaryAchievement diaryARead-onlyIdempotent
Use for an achievement diary region: each tier's requirements checked with ✓/✗/?, and for one tier the tasks with WikiSync completion and the rewards.
Inputs: region (required), tier, cursor, player.
get_dropsMonster dropsARead-onlyIdempotent
Use for what a monster drops: quantities, rarities, value at live GE prices, shared tables such as the rare drop table, and expected gp per kill.
Inputs: monster (required), cursor, version.
get_itemItem factsARead-onlyIdempotent
Use for facts about an item by name or id: examine text, value, alch values, weight, buy limit, members, tradeable and quest-item flags, equipment bonuses and every version. Includes the live GE price when tradeable.
Inputs: item (required), cursor.
get_money_makersMoney-making methodsARead-onlyIdempotent
Use when the player asks how to make money. Lists the wiki's money-making guides by gp/hr, filterable by category, members, recurring or minimum gp/hr, checked against the account.
Inputs: limit, cursor, player, members, +3 more.
get_monsterMonster factsARead-onlyIdempotent
Use for a monster's stats: combat level, hitpoints, max hit, attack styles, defences, weaknesses, immunities, slayer info and locations as map links. Lists its other versions.
Inputs: monster (required), cursor, version.
get_pageRead a wiki pageARead-onlyIdempotent
Use to read an OSRS Wiki article as clean text, whole or one section by heading or index. Long pages continue with a cursor.
Inputs: title (required), cursor, section.
get_page_sectionsList page sectionsARead-onlyIdempotent
Use to list an OSRS Wiki page's sections before reading one with get_page.
Inputs: title (required), cursor.
get_player_progressWikiSync progressARead-onlyIdempotent
Use for a player's quest, achievement diary, collection log and combat achievement progress from WikiSync. Defaults to the saved account.
Inputs: mode, name, cursor, questState.
get_priceGrand Exchange pricesARead-onlyIdempotent
Use for Grand Exchange prices of one or more items by name, fuzzy name like 'd scim', or id. Returns instant buy and sell with their age, margin after GE tax, 1h and 24h averages, volumes, buy limit, alch values and batch totals.
Inputs: items (required), cursor.
get_price_historyPrice historyARead-onlyIdempotent
Use for how an item's Grand Exchange price has moved. Returns low, high, average and % change over the window, plus the series.
Inputs: item (required), timestep (required), cursor, points.
get_questQuest requirements and readinessARead-onlyIdempotent
Use when the player asks about a quest or whether they can do it. Returns readiness with the prerequisite tree marked ✓/✗/?, skill requirements, items summary, enemies, start point, difficulty, length, rewards and ironman notes.
Inputs: name (required), cursor, player.
get_quest_guideQuest step guideARead-onlyIdempotent
Use for step-by-step quest instructions from Quest Helper, one section at a time by name or number, with map links. Long sections continue with a cursor.
Inputs: name (required), cursor, section.
get_shopShop stockARead-onlyIdempotent
Use for what a shop sells: owner, location, and each item's price, currency, stock and restock time.
Inputs: name (required), cursor.
get_slayer_tasksSlayer master tasksARead-onlyIdempotent
Use for what a slayer master assigns: tasks with amounts, weights and chances. With an account, only tasks it can be assigned are counted.
Inputs: master (required), cursor, player.
lookup_playerHiscores lookupARead-onlyIdempotent
Use for a player's hiscores: skill levels, XP, ranks, boss kill counts, clue scrolls and combat level. Defaults to the saved account.
Inputs: mode, name, cursor.
plan_quest_tripsQuest trip plannerARead-onlyIdempotent
Use when the player wants to know what to bring for a quest. Splits it into trips that fit a 28-slot inventory, with items per trip, items needed later, items obtained during the quest and teleports.
Inputs: name (required), cursor, player, ironman.
plan_skillSkill plannerARead-onlyIdempotent
Use when the player wants to reach a level or XP goal. Gives XP remaining, a method's actions, materials and cost, or the best methods at their level, plus quests that reward XP in the skill.
Inputs: skill (required), target (required), cursor, method, +3 more.
query_wiki_dataQuery wiki data tablesARead-onlyIdempotent
Use for structured wiki data no other tool covers, by querying a Bucket table such as combat_achievement, infobox_monster or dropsline with select, where and ordering. An unknown table or field returns the valid ones.
Inputs: bucket (required), limit, order, where, +3 more.
search_wikiSearch the OSRS WikiARead-onlyIdempotent
Use to find OSRS Wiki pages about anything no other tool covers. Returns titles, URLs and short snippets.
Inputs: query (required), limit, cursor.
set_accountSave accountAIdempotent
Use when the player tells you their OSRS name or account mode (main, ironman and so on). Saves it so later answers are checked against that account.
Inputs: name (required), mode.
solve_clueSolve a clue scrollARead-onlyIdempotent
Use when the player pastes Treasure Trails clue text such as an anagram, cipher, cryptic or emote clue. Returns the solution and, for emote clues, the emotes, location and equipment with alternates.
Inputs: text (required).
suggest_questsWhat quest nextARead-onlyIdempotent
Use when the player asks what quest to do next. Suggests quests in the wiki's optimal order that they can start now, plus ones blocked by a single requirement, filterable by XP reward skill or unlock text.
Inputs: after, limit, cursor, player, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Most tools target clearly distinct resources and actions, with explicit guidance like 'no other tool covers' for wiki search and structured data. Some overlap exists among quest-related tools (get_quest, get_quest_guide, plan_quest_trips, suggest_quests) and player progress tools, but descriptions distinguish them well.
All tool names use consistent snake_case with predictable verb_noun or verb constructions such as get_item, find_recipes, plan_quest_trips, and solve_clue. There are no mixed naming conventions or vague standalone verbs.
26 tools exceeds the typical well-scoped range and the rubric marks 25+ as too many for the apparent scope. Although the OSRS domain is broad and most tools cover distinct areas, the surface is still heavy and could be consolidated or grouped.
The toolset covers account management, player stats and progress, wiki search/pages/structured data, prices and price history, items, shops, recipes, monsters, drops, quests and quest planning, diaries, slayer, combat achievements, clues, money makers, and skill planning. No major gaps are apparent for an OSRS companion server.
Related MCP Connectors
Routes plain-English onchain data questions to the right subgraph or API, with a query.
Paid technical intelligence for developers and AI agents. USD 0.001 per successful atomic query.
One governed MCP endpoint for 40+ business systems. Read-only, source-cited answers.
Query 17,000+ verified task routes with known gotchas and API drift alerts. Free keyless reads.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables access to RuneScape 3 data, including real-time Grand Exchange prices, item information, historical price trends, and player statistics. Supports multiple game modes and provides comprehensive RuneScape Wiki API integration through natural language.132MIT
- FlicenseAqualityDmaintenanceExposes Old School RuneScape account data (quests, skills, diaries, etc.) via WikiSync and official HiScores, allowing Claude to query player progress without manual copy-pasting.2-
- AlicenseAqualityDmaintenanceEnables AI assistants to search the OSRS Wiki, lookup Grand Exchange prices, and access synced player data (bank, skills, quests, etc.) via local RuneLite plugin files.131BSD 2-Clause "Simplified"
- AlicenseBqualityFmaintenanceFetches Hypixel SkyBlock data including profiles, economy, and progression, returning compact JSON for AI-powered guides and tips.2333 npm1MIT