Sponsored by Deepsite.site

Runescape Wiki Mcp

Created By
birdwell4 months ago
This MCP server provides AI assistants with real-time access to RuneScape 3 game data through the RuneScape Wiki APIs. It enables AI systems to retrieve current Grand Exchange prices, detailed item information (including stats, examine text, and alchemy values), historical price trends with configurable time intervals, and player statistics from the official hiscores across different game modes (normal, ironman, hardcore ironman). The server acts as a bridge between AI applications and RuneScape's extensive database, allowing for dynamic queries about items, market analysis, player progression tracking, and game-related assistance without requiring direct API knowledge or authentication from the end user.
Content

RuneScape Wiki MCP Server

A Model Context Protocol (MCP) server that provides access to RuneScape Wiki APIs, including real-time Grand Exchange prices, item data, and player statistics for RuneScape 3 (RS3).

Features

  • Real-time Grand Exchange Prices: Get current, 5-minute, and 1-hour average prices for all items
  • Item Database: Access complete item mappings with metadata (names, IDs, examine text, etc.)
  • Price Time Series: Historical price data with configurable time intervals
  • Player Statistics: Lookup player stats from RuneScape 3 hiscores
  • Multiple Game Modes: Support for normal, ironman, and hardcore ironman accounts
  • MCP Resources: Direct access to price and item data through MCP resource URIs

Installation

Prerequisites

  • Node.js 18.0.0 or higher
  • npm or yarn

Install Dependencies

npm install

Build the Project

npm run build

Development Mode

npm run dev

This will start the TypeScript compiler in watch mode and automatically restart the server when files change.

Usage

With Claude Desktop

Add the following configuration to your Claude Desktop config file:

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

With MCP Inspector

Test the server using the MCP Inspector:

# Using npm script (recommended)
npm run inspector

# Or manually with npx
npx @modelcontextprotocol/inspector node dist/index.js

Quick Test

Verify the server is working correctly:

npm test

Available Tools

get_latest_prices

Get the latest Grand Exchange prices for all items or a specific item.

Parameters:

  • itemId (optional): Item ID to get price for specific item

Example:

{
  "itemId": 4151
}

get_item_mapping

Get the complete mapping of all items with their IDs, names, and metadata.

Parameters: None

Returns: Array of items with:

  • id: Item ID
  • name: Item name
  • examine: Examine text
  • members: Whether it's a members-only item
  • lowalch: Low alchemy value
  • highalch: High alchemy value
  • limit: Grand Exchange buy limit
  • value: Item value
  • icon: Icon filename

get_5m_prices

Get 5-minute average prices for all items.

Parameters:

  • timestamp (optional): Unix timestamp to get prices for specific time

get_1h_prices

Get 1-hour average prices for all items.

Parameters:

  • timestamp (optional): Unix timestamp to get prices for specific time

get_timeseries

Get price time series data for a specific item.

Parameters:

  • itemId (required): Item ID to get time series for
  • timestep (required): Time interval - one of: 5m, 1h, 6h, 24h

Example:

{
  "itemId": 4151,
  "timestep": "1h"
}

get_player_stats

Get player statistics from RuneScape 3 hiscores.

Parameters:

  • username (required): Player username to lookup
  • gameMode (optional): Game mode - one of: normal, ironman, hardcore

Example:

{
  "username": "Zezima",
  "gameMode": "normal"
}

Returns: Parsed statistics including:

  • Overall rank and total level
  • Individual skill levels, experience, and ranks
  • Formatted data for all 30 skills (including Summoning, Dungeoneering, Divination, Invention, Archaeology, and Necromancy)

Item Category Mapping

Category NameCategory Number
Ammo1
Arrows2
Bolts3
Construction materials4
Cooking ingredients5
Costumes6
Crafting materials7
Familiars8
Fletching materials9
Food and Drink10
Herblore materials11
Hunting equipment12
Jewellery13
Mage armour14
Mage weapons15
Melee armour - low16
Melee armour - mid17
Melee armour - high18
Melee weapons - low19
Melee weapons - mid20
Melee weapons - high21
Mining and Smithing22
Potions23
Prayer armour24
Prayer materials25
Range armour26
Range weapons27
Runecrafting28
Runes, Spells, Teleports29
Seeds30
Summoning scrolls31
Tools and containers32
Woodcutting product33
Pocket items34
Stone spirits35
Firemaking products36
Archaeology materials37-43

Refer to this table when using tools that require a category number, such as search_items.

Available Resources

runescape://prices/latest

Direct access to the latest Grand Exchange prices for all items.

runescape://items/mapping

Direct access to the complete item mapping data.

API Endpoints

This server uses the following RuneScape Wiki APIs:

  • RS3 Prices API: https://prices.runescape.wiki/api/v1/rs
    • Latest prices, 5-minute averages, 1-hour averages, time series data
  • RS3 Hiscores API: https://secure.runescape.com/m=hiscore
    • Player statistics for different game modes

Rate Limits

The RuneScape Wiki APIs have the following guidelines:

  • Use a descriptive User-Agent (automatically handled by this server)
  • Avoid excessive requests that could impact API stability
  • The server implements proper error handling and respects API limitations

Error Handling

The server includes comprehensive error handling:

  • API request failures are caught and returned as error responses
  • Invalid parameters are validated before making API calls
  • Network timeouts and connection issues are handled gracefully
  • Player not found errors are properly reported

Development

Project Structure

src/
├── index.ts          # Main server implementation
├── types/            # TypeScript type definitions
└── utils/            # Utility functions

dist/                 # Compiled JavaScript output

Scripts

  • npm run build: Compile TypeScript to JavaScript
  • npm run watch: Watch for changes and recompile
  • npm start: Start the server in production mode
  • npm run dev: Start in development mode with auto-restart
  • npm test: Run a simple test to verify the server is working
  • npm run inspector: Launch the MCP Inspector to test the server

Adding New Tools

  1. Define the tool in the tools array with proper schema
  2. Add a case handler in the CallToolRequestSchema handler
  3. Implement the API logic with proper error handling
  4. Update this README with documentation

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Acknowledgments

Support

For issues, questions, or feature requests, please open an issue on the GitHub repository.


Note: This is an unofficial tool and is not affiliated with Jagex or the RuneScape Wiki. Please respect the API usage guidelines and terms of service.

Server Config

{
  "mcpServers": {
    "runescape-wiki": {
      "command": "node",
      "args": [
        "/path/to/runescape-wiki-mcp/dist/index.js"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
Tavily Mcp
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™