osrs-wiki-mcp
Provides read-only access to Old School RuneScape Wiki data, returning structured content with source provenance via MCP tools for searching pages, items, monsters, quests, shops, and drop sources.
README
OSRS Wiki MCP
A stateless, local Model Context Protocol server that turns Old School RuneScape Wiki data into bounded semantic responses with validated structured content and source provenance.
Requirements and installation
Node.js 24 or newer is required. The executable prints a concise upgrade message on older supported runtimes.
Configure an MCP client to use the pinned npm release:
{
"command": "npx",
"args": ["-y", "osrs-wiki-mcp@1.0.0"]
}
To run the server from a source checkout instead:
npm.cmd ci --ignore-scripts
npm.cmd run build
node dist/index.js
The server speaks MCP over standard input/output. Standard output is reserved for protocol messages; sanitized startup diagnostics use standard error.
Tools
All tools are read-only and may contact the Old School RuneScape Wiki.
| Tool | Exact inputs | Purpose |
|---|---|---|
search_wiki |
query (string), limit (1–20, default 5), offset (default 0) |
Search for canonical pages and snippets. |
get_wiki_page |
title (string) |
Return a bounded cleaned page and its section summary. |
get_wiki_sections |
title (string) |
List up to 200 page sections. |
get_wiki_section |
title (string), section (non-negative integer) |
Return one bounded section using an index from get_wiki_sections. |
get_item_info |
item (string) |
Normalize an item's description, properties, bonuses, and creation facts. |
find_shop |
item (string), limit (1–100, default 50), offset (default 0) |
Return a complete paginated shop listing. |
find_drop_sources |
item (string), limit (1–100, default 50), offset (default 0) |
Return a complete paginated monster-drop listing. |
get_item_sources |
item (string), perCategoryLimit (1–100, default 20) |
Return a bounded overview of drops, shops, recipes, and ground spawns. |
get_quest_requirements |
quest (string) |
Return Wiki-sourced requirements without evaluating a player. |
get_monster_info |
monster (string), variant (optional exact anchor) |
Return separate monster variants, map points, and access notes without DPS calculations. |
Public text inputs contain 1–256 Unicode characters. Truncation and incomplete
upstream pagination are disclosed in warnings; actionable warnings name a
follow-up tool or safe retry when one exists.
Responses and errors
Successful calls include both:
content: a readable representation for clients that display text; andstructuredContent: the same result validated against the tool's declared MCP output schema.
Valid calls that cannot complete return isError: true, no structured content,
and one stable code: NOT_FOUND, UPSTREAM_TIMEOUT,
UPSTREAM_RATE_LIMITED, UPSTREAM_UNAVAILABLE,
UPSTREAM_INVALID_RESPONSE, RESPONSE_TOO_LARGE, or INTERNAL_ERROR.
Malformed arguments and unknown tool names are JSON-RPC parameter errors.
Reliability and cache policy
- Every tool call has a 30-second monotonic budget. Each logical upstream request has at most 20 seconds within the remaining tool budget.
- Transient network errors and HTTP 429/502/503/504 responses receive at most
two bounded retries.
Retry-Afteris honored only when it fits the remaining budgets. - Upstream requests are serialized per process. Identical in-flight requests are deduplicated without allowing one caller's cancellation to cancel its siblings.
- Responses are capped at 5 MiB after decompression. Bucket scans are capped at 20 pages of 500 raw rows (10,000 rows total).
- Valid successful envelopes may be cached in memory for 300 seconds, up to 256 entries and approximately 32 MiB. Cache timestamps remain the original fetch time. Wiki error envelopes, invalid data, aborted requests, and oversized responses are never cached.
- The cache is per-process only. Nothing is written to disk and restarting the process clears all state.
Provenance and licensing
Every successful response includes provenance with the contributing canonical
Wiki URLs, original fetchedAt, attribution party, license and license deed
URL, and a transformation indicator. Parsed-page responses additionally carry
the exact revision ID and revision URL. Bucket responses use fetch time when a
revision is not available without extra upstream requests.
The source code is MIT licensed. Content retrieved from the Old School RuneScape Wiki remains subject to CC BY-NC-SA 3.0, including its non-commercial and ShareAlike conditions. Downstream users are responsible for how they reuse that content. See THIRD_PARTY_NOTICES.md.
Testing
Offline tests use synthetic fixtures and never need the live Wiki:
npm.cmd ci --ignore-scripts
npm.cmd run typecheck
npm.cmd test
npm.cmd run build
npm.cmd run smoke:stdio
npm.cmd run pack:check
The live smoke test is opt-in. It builds the server and makes exactly two
low-volume requests (search_wiki and get_item_info); it never stores the
response:
npm.cmd run test:live
Scope and limitations
Version 1 deliberately excludes player accounts, progression evaluation, hiscores, Grand Exchange prices, DPS calculations, Wiki images, persistent storage, a hosted proxy, and a local Wiki mirror. Quest requirements are facts, not met/missing evaluations. Monster variants are never combined.
RuneScape and Old School RuneScape are trademarks of Jagex Limited. This independent project is not affiliated with, endorsed by, or sponsored by Jagex Limited, Weird Gloop, or the Old School RuneScape Wiki. It uses a descriptive User-Agent with this repository URL and is designed for distributed, low-volume, per-user access.
See CONTRIBUTING.md for development rules and SECURITY.md for private vulnerability reporting.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。