OSRS Wiki logo

OSRS Wiki

Community
JayArrowz

mcp server for AI to understand osrs

PublisherJayArrowz
Repositorymcp-osrs
LanguageJavaScript
Forks
24
Stars
36
Available tools
19
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    OSRS Wiki exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 19 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    36 stars and 24 forks from the linked repository.

MseeP.ai Security Assessment Badge

OSRS MCP Server smithery badge

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

Grand Exchange Prices

  1. search_ge_items - Search for Grand Exchange tradeable items by name. Returns item IDs, names, buy limits, and alch values
  2. get_ge_latest - Get the latest Grand Exchange high and low prices for a specific item by its ID
  3. get_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

  1. lookup_player - Look up an OSRS player's stats (skills, bosses, clue scrolls, and activities) from the official hiscores

Installation

Installing via Smithery

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

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

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn

Installing the package

bash
# 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

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

Direct Node.js

json
{
  "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

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

Get Page Information

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

Search Game Data

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

List Available Data Files

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

Search Grand Exchange Items

javascript
// Search for tradeable items by name
const items = await callTool("search_ge_items", { 
  query: "dragon scimitar",
  page: 1,
  pageSize: 10
});

Get Latest GE Prices

javascript
// Get the latest high/low prices for an item
const prices = await callTool("get_ge_latest", { 
  itemId: 2 // Cannonball
});

Get GE Price History

javascript
// Get time-series price data for an item
const history = await callTool("get_ge_timeseries", { 
  itemId: 2,
  timestep: "1h"
});

Look Up a Player

javascript
// Look up an OSRS player's stats
const stats = await callTool("lookup_player", { 
  playerName: "Zezima"
});

Development

bash
# 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.

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Available Tools

  • osrs_wiki_search

    Search the OSRS Wiki for pages matching a search term.

  • osrs_wiki_get_page_info

    Get information about specific pages on the OSRS Wiki.

  • osrs_wiki_parse_page

    Get the parsed HTML content of a specific OSRS Wiki page.

  • search_varptypes

    Search the varptypes.txt file for player variables (varps) that store player state and progress.

  • search_varbittypes

    Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps.

  • search_iftypes

    Search the iftypes.txt file for interface definitions used in the game's UI.

  • search_invtypes

    Search the invtypes.txt file for inventory type definitions in the game.

  • search_loctypes

    Search the loctypes.txt file for location/object type definitions in the game world.

  • search_npctypes

    Search the npctypes.txt file for NPC (non-player character) definitions.

  • search_objtypes

    Search the objtypes.txt file for object/item definitions in the game.

  • search_rowtypes

    Search the rowtypes.txt file for row definitions used in various interfaces.

  • search_seqtypes

    Search the seqtypes.txt file for animation sequence definitions.

  • search_soundtypes

    Search the soundtypes.txt file for sound effect definitions in the game.

  • search_spottypes

    Search the spottypes.txt file for spot animation (graphical effect) definitions.

  • search_spritetypes

    Search the spritetypes.txt file for sprite image definitions used in the interface.

  • search_tabletypes

    Search the tabletypes.txt file for interface tab definitions.

  • search_data_file

    Search any file in the data directory for matching entries.

  • get_file_details

    Get details about a file in the data directory.

  • list_data_files

    List available data files in the data directory.

Use OSRS Wiki MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once OSRS Wiki is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add OSRS Wiki as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the OSRS Wiki MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "osrs-wiki": {
      "command": "npx",
      "args": [
        "-y",
        "@jayarrowz/mcp-osrs"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the OSRS Wiki MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the OSRS Wiki MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use OSRS Wiki to help me with this task?
OSRS Wiki
Sure. I read it.
Here is what I found using OSRS Wiki.

Frequently asked questions

What is the OSRS Wiki MCP server used for?

OSRS Wiki is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use OSRS Wiki MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use OSRS Wiki with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use OSRS Wiki MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With OSRS Wiki connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect OSRS Wiki MCP to TypingMind?

OSRS Wiki runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does OSRS Wiki MCP provide in TypingMind?

OSRS Wiki exposes 19 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use OSRS Wiki MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If OSRS Wiki requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇