OSRS MCP Server
The OSRS MCP Server enables interaction with the Old School RuneScape (OSRS) Wiki API and game data files through various search and data retrieval methods.
You can:
Search the OSRS Wiki: Look up pages, get page information, and access parsed HTML content
Search Game Data: Query files for definitions including varps, varbits, interfaces, NPCs, objects, sounds, sprites, and more
Generic Data File Operations: Search any file in the data directory, get file details, and list available data files
Integration with Claude Desktop: Easily integrate into Claude Desktop configurations
Development and Customization: Install, build, and run the server locally
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., "@OSRS MCP Server search for dragon scimitar stats"
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.
OSRS MCP Server
MCP Server for interacting with the Old School RuneScape (OSRS) Wiki API and data files. This server provides tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.
Tools
This server implements the following tools:
OSRS Wiki Methods
osrs_wiki_search- Search the OSRS Wiki for pages matching a search termosrs_wiki_get_page_info- Get information about specific pages on the OSRS Wikiosrs_wiki_parse_page- Get the parsed HTML content of a specific OSRS Wiki page
Game Data Search Methods
search_varptypes- Search the varptypes.txt file for player variables (varps) that store player state and progresssearch_varbittypes- Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varpssearch_iftypes- Search the iftypes.txt file for interface definitions used in the game's UIsearch_invtypes- Search the invtypes.txt file for inventory type definitions in the gamesearch_loctypes- Search the loctypes.txt file for location/object type definitions in the game worldsearch_npctypes- Search the npctypes.txt file for NPC (non-player character) definitionssearch_objtypes- Search the objtypes.txt file for object/item definitions in the gamesearch_rowtypes- Search the rowtypes.txt file for row definitions used in various interfacessearch_seqtypes- Search the seqtypes.txt file for animation sequence definitionssearch_soundtypes- Search the soundtypes.txt file for sound effect definitions in the gamesearch_spottypes- Search the spottypes.txt file for spot animation (graphical effect) definitionssearch_spritetypes- Search the spritetypes.txt file for sprite image definitions used in the interfacesearch_tabletypes- Search the tabletypes.txt file for interface tab definitions
Generic Data File Methods
search_data_file- Search any file in the data directory for matching entriesget_file_details- Get details about a file in the data directorylist_data_files- List available data files in the data directory
Grand Exchange Prices
search_ge_items- Search for Grand Exchange tradeable items by name. Returns item IDs, names, buy limits, and alch valuesget_ge_latest- Get the latest Grand Exchange high and low prices for a specific item by its IDget_ge_timeseries- Get historical time-series price data for an item at a given interval (5m, 1h, 6h, 24h). Returns up to 365 data points
Player Lookup
lookup_player- Look up an OSRS player's stats (skills, bosses, clue scrolls, and activities) from the official hiscores
Related MCP server: Wiki OSRS MCP
Installation
Installing via Smithery
To install mcp-osrs for Claude Desktop automatically via Smithery:
npx @smithery/cli@latest install @jayarrowz/mcp-osrs --client claudePrerequisites
Node.js (v16 or later)
npm or yarn
Installing the package
# Clone the repository
git clone https://github.com/jayarrowz/mcp-osrs.git
cd mcp-osrs
# Install dependencies
npm install
# Build the package
npm run buildUsage with Claude Desktop
Add the following to your claude_desktop_config.json:
Using npx
{
"mcpServers": {
"osrs": {
"command": "npx",
"args": ["-y", "@jayarrowz/mcp-osrs"]
}
}
}Direct Node.js
{
"mcpServers": {
"osrs": {
"command": "node",
"args": ["/path/to/mcp-osrs/dist/index.js"]
}
}
}Replace /path/to/mcp-osrs with the actual path to your repository.
Examples
Search the OSRS Wiki
// Search for information about the Abyssal whip
const result = await callTool("osrs_wiki_search", {
search: "Abyssal whip"
});Get Page Information
// Get information about a specific wiki page
const pageInfo = await callTool("osrs_wiki_get_page_info", {
titles: "Abyssal_whip"
});Search Game Data
// Search for items in the object definitions
const items = await callTool("search_objtypes", {
query: "dragon",
page: 1,
pageSize: 10
});List Available Data Files
// Get a list of all data files
const files = await callTool("list_data_files", {});Search Grand Exchange Items
// Search for tradeable items by name
const items = await callTool("search_ge_items", {
query: "dragon scimitar",
page: 1,
pageSize: 10
});Get Latest GE Prices
// Get the latest high/low prices for an item
const prices = await callTool("get_ge_latest", {
itemId: 2 // Cannonball
});Get GE Price History
// Get time-series price data for an item
const history = await callTool("get_ge_timeseries", {
itemId: 2,
timestep: "1h"
});Look Up a Player
// Look up an OSRS player's stats
const stats = await callTool("lookup_player", {
playerName: "Zezima"
});Development
# Install dependencies
npm install
# Start the server in development mode
npm start
# Build the server
npm run buildLicense
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
23 toolsget_file_detailsC
Get details about a file in the data directory.
Inputs: filename (required).
get_ge_latestA
Get the latest Grand Exchange high and low prices for a specific item by its ID.
Inputs: itemId (required).
get_ge_timeseriesA
Get historical time-series price data for an item at a given interval (5m, 1h, 6h, 24h). Returns up to 365 data points.
Inputs: itemId (required), timestep (required).
list_data_filesB
List available data files in the data directory.
Inputs: fileType.
lookup_playerA
Look up an OSRS player's stats (skills, bosses, clue scrolls, and activities) from the official hiscores.
Inputs: playerName (required), gamemode.
osrs_wiki_get_page_infoC
Get information about specific pages on the OSRS Wiki.
Inputs: titles (required).
osrs_wiki_parse_pageC
Get the parsed HTML content of a specific OSRS Wiki page.
Inputs: page (required).
osrs_wiki_searchC
Search the OSRS Wiki for pages matching a search term.
Inputs: search (required), limit, offset.
search_data_fileC
Search any file in the data directory for matching entries.
Inputs: filename (required), query (required), page, pageSize.
search_ge_itemsA
Search for Grand Exchange tradeable items by name. Uses an exact/prefix/substring match. Returns item IDs, names, buy limits, and alch values.
Inputs: query (required), page, pageSize.
search_iftypesC
Search the iftypes.txt file for interface definitions used in the game's UI.
Inputs: query (required), page, pageSize.
search_invtypesC
Search the invtypes.txt file for inventory type definitions in the game.
Inputs: query (required), page, pageSize.
search_loctypesC
Search the loctypes.txt file for location/object type definitions in the game world.
Inputs: query (required), page, pageSize.
search_npctypesC
Search the npctypes.txt file for NPC (non-player character) definitions.
Inputs: query (required), page, pageSize.
search_objtypesC
Search the objtypes.txt file for object/item definitions in the game.
Inputs: query (required), page, pageSize.
search_rowtypesC
Search the rowtypes.txt file for row definitions used in various interfaces.
Inputs: query (required), page, pageSize.
search_seqtypesC
Search the seqtypes.txt file for animation sequence definitions.
Inputs: query (required), page, pageSize.
search_soundtypesC
Search the soundtypes.txt file for sound effect definitions in the game.
Inputs: query (required), page, pageSize.
search_spottypesC
Search the spottypes.txt file for spot animation (graphical effect) definitions.
Inputs: query (required), page, pageSize.
search_spritetypesC
Search the spritetypes.txt file for sprite image definitions used in the interface.
Inputs: query (required), page, pageSize.
search_tabletypesC
Search the tabletypes.txt file for interface tab definitions.
Inputs: query (required), page, pageSize.
search_varbittypesC
Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps.
Inputs: query (required), page, pageSize.
search_varptypesC
Search the varptypes.txt file for player variables (varps) that store player state and progress.
Inputs: query (required), page, pageSize.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Many search_* tools are very similar in function, only differing by the file they search. While descriptions specify which file, an agent could easily confuse them, especially with many type definition tools.
Tools consistently use snake_case and start with verbs like get, lookup, search, list. However, some tools use an 'osrs_wiki_' prefix while others do not, creating minor inconsistency.
23 tools is slightly above the typical well-scoped range but is reasonable for a comprehensive OSRS server covering wiki, hiscores, GE, and many game definition searches.
Covers major areas like wiki, hiscores, GE, and extensive type definitions. Some gaps (e.g., quests, combat calculations) but overall a solid surface for OSRS tasks.
Maintenance
Related MCP Connectors
BGG MCP provides access to the BoardGameGeek API through the Model Context Protocol, enabling retr…
Provide detailed Pokémon data and information through a standardized MCP interface. Enable LLMs an…
Model Context Protocol server for Studex tools, notifications, and profile integrations
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
AlicenseBqualityNot gradedmaintenanceMCP Server for interacting with Old School RuneScape Wiki API and game data files, providing tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.61990 npm1-- AlicenseNot gradedqualityDmaintenanceProvides access to Old School RuneScape wiki information and game data through MCP tools. Enables users to query OSRS game content, items, and mechanics via natural language.234 npm1MIT
- AlicenseNot gradedqualityDmaintenanceThis server enables interaction with the Old School RuneScape (OSRS) Wiki API and provides access to extensive game data definitions for items, NPCs, and interfaces. It allows users to search the wiki and query underlying game files through the Model Context Protocol.90 npmMIT
- 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.1310 npm1BSD 2-Clause "Simplified"