OSRS Wiki MCP server

Provides tools for accessing Old School RuneScape game data through wiki searches and structured file queries with pagination support
Back to servers
Setup instructions
Provider
Jay Arrowz
Release date
Apr 23, 2025
Language
TypeScript
Package
Stats
3.4K downloads
9 stars

This MCP server allows you to access and search Old School RuneScape (OSRS) Wiki data and game definition files through a standardized interface. It provides tools for searching wiki pages and querying various game data files containing information about items, NPCs, locations, and more.

Installation

Using Smithery

The easiest way to install the OSRS MCP server for Claude Desktop is with Smithery:

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

Manual Installation

If you prefer to install manually:

# 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

Configuration

To use this MCP server with Claude Desktop, add one of the following configurations to your claude_desktop_config.json file:

Using npx (Recommended)

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

Direct Node.js

{
  "mcpServers": {
    "osrs": {
      "command": "node",
      "args": ["/path/to/mcp-osrs/dist/index.js"]
    }
  }
}

Available Tools

OSRS Wiki Tools

These tools allow you to search and retrieve information from the OSRS Wiki:

Wiki Searching

// Search for information about the Abyssal whip
const result = await callTool("osrs_wiki_search", { 
  search: "Abyssal whip" 
});

Getting Wiki Page Information

// Get information about a specific wiki page
const pageInfo = await callTool("osrs_wiki_get_page_info", { 
  titles: "Abyssal_whip" 
});

Parsing Wiki Pages

// Get the parsed HTML content of a wiki page
const pageContent = await callTool("osrs_wiki_parse_page", { 
  page: "Abyssal_whip" 
});

Game Data Search Tools

The server provides tools to search various game data definition files:

Searching Items

// Search for dragon items
const items = await callTool("search_objtypes", { 
  query: "dragon",
  page: 1,
  pageSize: 10
});

Searching NPCs

// Search for goblin NPCs
const npcs = await callTool("search_npctypes", { 
  query: "goblin",
  page: 1,
  pageSize: 10
});

Searching Locations

// Search for bank locations
const locations = await callTool("search_loctypes", { 
  query: "bank",
  page: 1,
  pageSize: 10
});

Data File Management

These tools help you explore and manage the available data files:

Listing Data Files

// Get a list of all available data files
const files = await callTool("list_data_files", {});

Getting File Details

// Get details about a specific data file
const fileDetails = await callTool("get_file_details", { 
  filename: "objtypes.txt" 
});

Generic File Search

// Search any data file for specific content
const results = await callTool("search_data_file", {
  filename: "npctypes.txt",
  query: "dragon",
  page: 1,
  pageSize: 10
});

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "osrs" '{"command":"npx","args":["-y","@jayarrowz/mcp-osrs"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

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

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

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

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later