mcp server for AI to understand osrs
Configuration
View docs{
"mcpServers": {
"jayarrowz-mcp-osrs": {
"command": "node",
"args": [
"/path/to/mcp-osrs/dist/index.js"
]
}
}
}OSRS MCP Server provides tools to query the Old School RuneScape Wiki and data definitions through the Model Context Protocol. It exposes wiki search, page info, parsed pages, and a suite of game data search endpoints to help you build rich OSRS data integrations.
You connect to the OSRS MCP Server using a client that understands MCP endpoints. You can run the server locally and point your client to it, or use a remote MCP endpoint if available. Use the provided tools to search the OSRS Wiki, fetch page information, parse pages, and query game data definitions across various data files.
# Prerequisites
- Node.js v16 or later
- npm or yarn
# Clone the package
git clone https://github.com/jayarrowz/mcp-osrs.git
cd mcp-osrs
# Install dependencies
npm install
# Build the package
npm run build
```
```
# Run the server locally using npm start (after build) or configure your MCP client to start it
npm start
```
```
# Alternatively, run via npx with Claude Desktop configuration
# This step is shown in the client configuration example
npx -y @jayarrowz/mcp-osrs
```"Two common ways to run the server from a client perspective are shown in the configuration examples. You can either start the server via Node.js by pointing to the built index, or use a package runner like npx to launch it inline. In Claude Desktop, you configure the MCP server entry as either a stdio process with node and the dist index, or an npx invocation that loads the package directly.
Search the OSRS Wiki for pages matching a search term.
Get information about specific pages on the OSRS Wiki.
Get the parsed HTML content of a specific OSRS Wiki page.
Search the varptypes.txt file for player variables that store state and progress.
Search the varbittypes.txt file for variable bits that compose varps.
Search the iftypes.txt file for interface definitions used in the UI.
Search the invtypes.txt file for inventory type definitions.
Search the loctypes.txt file for location and object type definitions.
Search the npctypes.txt file for NPC definitions.
Search the objtypes.txt file for object and item definitions.
Search the rowtypes.txt file for row definitions used in interfaces.
Search the seqtypes.txt file for animation sequence definitions.
Search the soundtypes.txt file for sound effect definitions.
Search the spottypes.txt file for spot animation definitions.
Search the spritetypes.txt file for sprite image definitions.
Search the tabletypes.txt file for interface tab definitions.
Search any file in the data directory for matching entries.
Get details about a file in the data directory.
List available data files in the data directory.