OSRS MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add osrs-mcp -- npx -y @jayarrowz/mcp-osrs
README.md

Interact with the Old School RuneScape (OSRS) Wiki API and game data files.

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.

image

image

image

Tools

This server implements the following tools:

OSRS Wiki Methods

  1. osrs_wiki_search - Search the OSRS Wiki for pages matching a search term
  2. osrs_wiki_get_page_info - Get information about specific pages on the OSRS Wiki
  3. osrs_wiki_parse_page - Get the parsed HTML content of a specific OSRS Wiki page

Game Data Search Methods

  1. search_varptypes - Search the varptypes.txt file for player variables (varps) that store player state and progress
  2. search_varbittypes - Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps
  3. search_iftypes - Search the iftypes.txt file for interface definitions used in the game's UI
  4. search_invtypes - Search the invtypes.txt file for inventory type definitions in the game
  5. search_loctypes - Search the loctypes.txt file for location/object type definitions in the game world
  6. search_npctypes - Search the npctypes.txt file for NPC (non-player character) definitions
  7. search_objtypes - Search the objtypes.txt file for object/item definitions in the game
  8. search_rowtypes - Search the rowtypes.txt file for row definitions used in various interfaces
  9. search_seqtypes - Search the seqtypes.txt file for animation sequence definitions
  10. search_soundtypes - Search the soundtypes.txt file for sound effect definitions in the game
  11. search_spottypes - Search the spottypes.txt file for spot animation (graphical effect) definitions
  12. search_spritetypes - Search the spritetypes.txt file for sprite image definitions used in the interface
  13. search_tabletypes - Search the tabletypes.txt file for interface tab definitions

Generic Data File Methods

  1. search_data_file - Search any file in the data directory for matching entries
  2. get_file_details - Get details about a file in the data directory
  3. list_data_files - List available data files in the data directory

Installation

Installing via Smithery

To install mcp-osrs for Claude Desktop automatically via Smithery:

npx @smithery/cli@latest install @jayarrowz/mcp-osrs --client claude

Prerequisites

  • 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 build

Usage 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", {});

Development

# Install dependencies
npm install

# Start the server in development mode
npm start

# Build the server
npm run build

License

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.

Tools (5)

osrs_wiki_searchSearch the OSRS Wiki for pages matching a search term
osrs_wiki_get_page_infoGet information about specific pages on the OSRS Wiki
osrs_wiki_parse_pageGet the parsed HTML content of a specific OSRS Wiki page
search_objtypesSearch the objtypes.txt file for object/item definitions in the game
list_data_filesList available data files in the data directory

Configuration

claude_desktop_config.json
{"mcpServers": {"osrs": {"command": "npx", "args": ["-y", "@jayarrowz/mcp-osrs"]}}}

Try it

Search the OSRS Wiki for information about the Abyssal whip.
Find item definitions for 'dragon' in the game data.
Get detailed information about the 'Abyssal_whip' wiki page.
List all available game data files I can query.

Frequently Asked Questions

What are the key features of OSRS MCP Server?

Search the official OSRS Wiki for game information. Query internal game data files including NPCs, items, and interfaces. Access parsed HTML content from wiki pages. Search through varps, varbits, and animation sequence definitions.

What can I use OSRS MCP Server for?

Quickly looking up item stats or drop rates while chatting with Claude. Developing tools that require access to OSRS game object definitions. Researching game mechanics by querying internal interface and NPC data. Automating the retrieval of wiki-based game knowledge.

How do I install OSRS MCP Server?

Install OSRS MCP Server by running: npx @smithery/cli@latest install @jayarrowz/mcp-osrs --client claude

What MCP clients work with OSRS MCP Server?

OSRS MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep OSRS MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare