@mistereman22/osrs-wiki-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@mistereman22/osrs-wiki-mcp-server what's the drop rate for the Abyssal whip?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mistereman22/osrs-wiki-mcp-server
MCP server for the Old School RuneScape Wiki (https://oldschool.runescape.wiki). Serves the full tool surface of @professional-wiki/mediawiki-mcp-server against a pinned, read-only wiki definition.
Capability | Details |
MediaWiki tools | Full upstream tool surface (page reads, search, bucket queries, wikitext parsing, categories, siteinfo, ...) with wiki fixed to |
MCP resources | Guidance resources ( |
Quick start (users)
Requirement: Node.js >= 22.19.0
Before you start: Replace the empty MCP_CONTACT values below with your own email or name + URL. The server requires this and will exit if not set.
OpenCode
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"osrs-wiki": {
"type": "local",
"command": ["npx", "@mistereman22/osrs-wiki-mcp-server"],
"environment": { "MCP_CONTACT": "" }
}
}
}
}Cursor
{
"mcpServers": {
"osrs-wiki": {
"command": "npx",
"args": ["@mistereman22/osrs-wiki-mcp-server"],
"env": { "MCP_CONTACT": "" }
}
}
}Claude Code
/plugin marketplace add mistereman22/osrs-wiki-mcp-server
/plugin install osrs-wiki-mcp-server@osrs-wiki-mcp-serverThen set your contact:
# Add to your shell profile (e.g., ~/.bashrc, ~/.zshrc)
export MCP_CONTACT="your-contact@example.com"Run directly
MCP_CONTACT="" npx @mistereman22/osrs-wiki-mcp-serverRelated MCP server: osrs-wiki-mcp
Configuration
Variable | Required | Meaning |
| Yes | Your contact (email or name + URL), appended to the server's base User-Agent on every OSRS wiki request. Example: |
Composed User-Agent
osrs-wiki-mcp-server/<version> (https://github.com/mistereman22/osrs-wiki-mcp-server) you@example.comMCP Resources
The server exposes guidance resources via context:// URIs. Read these before using the corresponding tools:
Resource | Purpose |
| Decision tree mapping query types to tools. Read first. |
| All known buckets with their fields. |
| Bucket query syntax, best practices, common patterns, troubleshooting. |
| Search strategy, section discovery, canonical page heuristic. |
| Category structure, namespace IDs, DPL/template discovery. |
| Verified data-retrieval templates for |
Rate limits
Two independent sliding-window budgets (tuned in src/server.ts):
Surface | Budget | Counted per |
MediaWiki API | 30 requests / 60 s | each upstream tool call |
External APIs | 30 requests / 60 s | each HTTP request by external API tool |
Over budget: waits up to 10s for a slot, then returns rate-limit error with retry hint.
Development
Requirements
Node.js >= 22.19.0
npm installin this directory
Commands
npm run build # TypeScript -> dist/
npm start # Run built server (requires MCP_CONTACT)
npm run dev # Build + runRepository layout
.
+-- src/
| +-- index.ts # Entry point: env gate, stdio transport, lifecycle
| +-- env.ts # MCP_CONTACT fail-fast gate + User-Agent composition
| +-- server.ts # McpServer assembly + tool gating + wiki config + rate limiting
| +-- resources.ts # MCP resource loader (guidance documents)
| +-- external.ts # HTTP utilities (callHttp) for future external APIs
| +-- declarations.d.ts # Type declarations for upstream JS-only package
+-- resources/
| +-- tool-selection.md # Query-type → tool decision tree
| +-- bucket-catalog.md # Bucket index with field names
| +-- bucket-query-guide.md # Bucket query patterns and troubleshooting
| +-- search-guide.md # Search and section discovery strategy
| +-- namespace-category-guide.md # Categories, namespaces, DPL
| +-- template-reference.md # Verified data-retrieval templates
+-- .claude-plugin/
| +-- marketplace.json # Claude Code marketplace manifest
+-- dist/ # Compiled output (generated by build)
+-- package.json
+-- tsconfig.json
+-- README.md
+-- LICENSERate limit constants
Tuned in src/server.ts:
WINDOW_MS = 60_000(60s window)MAX_WAIT_MS = 10_000(max 10s wait)WIKI_MAX_REQUESTS = 30EXTERNAL_MAX_REQUESTS = 30
Contact
Maintainer: github.com/mistereman22
License
Code: MIT
Wiki content: This server fetches content from the Old School RuneScape Wiki at runtime. That content is licensed under CC BY-NC-SA 3.0 with additional terms. This server does not store or redistribute wiki content — it is a read-only proxy. Downstream users are responsible for complying with the wiki's license when reusing retrieved content, including providing attribution to the source pages.
Available Tools
19 toolsbucket-queryARead-onlyIdempotent
Runs a Bucket extension query against the targeted wiki. One row per match. Enabled only when the wiki has Bucket installed.
Ground bucket and field names first: schemas are JSON pages in the Bucket: namespace (id 9592). The bucket(...) argument is the page title lowercased with spaces replaced by underscores — page Bucket:Combat achievement is queried as bucket("combat_achievement"). Discover with search-page-by-prefix (namespace 9592 plus a starting-letter prefix), then get-page to read the schema. Field names appear already lowercase-underscored in the schema; pass them verbatim.
Examples:
Lookup: bucket("exchange").select("name","high_alch").where("name","Abyssal whip").run()
Sort: bucket("exchange").select("name","value").orderBy("value","desc").limit(10).run()
Comparator: bucket("exchange").select("name","value").where({"value",">",1000000}).run()
Where syntax: shorthand where("field","value") for equality; table form where({"field","op","value"}) for =, !=, >, <, >=, <=. Compose with Bucket.And/Or/Not. Full Lua reference: https://meta.weirdgloop.org/w/Extension:Bucket/Usage.
Up to 500 rows per call, and only the whole rows that fit in 75000 bytes by default; paginate with continueFrom. Bucket's API is not yet stable upstream — error wording may shift, but errors come through verbatim.
Inputs: query (required), wiki, limit, continueFrom.
compare-pagesARead-onlyIdempotent
Returns the changes between two versions of a wiki page as a compact text diff. Each side accepts a revision ID, page title (latest revision), or supplied wikitext; text-vs-text is rejected. Only the changes are returned over the wire. For the full text of both sides, fetch with get-page instead. If a title or revision ID does not exist, an error is returned. Set includeDiff=false for a cheap change-detection response that skips diff rendering and returns just the change flag, revision metadata, and size delta. Diff output is truncated at 75000 bytes by default, with a marker reporting how much of it was returned; a narrower revision range or includeDiff=false avoids truncation.
Inputs: wiki, toText, toTitle, fromText, +4 more.
get-category-membersARead-onlyIdempotent
Lists members of a category, returning each member's page ID, namespace ID, and wiki page title. Optionally filter by member type (page, file, subcat) or by namespace ID — filters apply server-side before the cap. Returns up to 500 members per call; paginate with continueFrom (opaque cursor echoed from the previous response). A member's type is omitted when it is an ordinary page (present only for files and subcategories).
Inputs: category (required), wiki, limit, types, +2 more.
get-fileARead-onlyIdempotent
Returns metadata for a file (uploader, timestamp, size, MIME type) along with download URLs for the thumbnail, preview, and original. The File: prefix is added automatically if omitted.
Inputs: title (required), wiki.
get-file-dataARead-onlyIdempotent
Fetches a wiki file server-side and returns the image inline as a content block, for clients that cannot reach the wiki host (sandboxed or network-restricted) and need the image sent to the model for visual analysis. Returns a scaled rendition sized by width. Files MediaWiki can rasterize (images, SVG, PDF, DjVu) come back as an image; other types (audio, video, arbitrary binaries) error — for those, and for metadata or a download URL, use get-file.
Inputs: title (required), wiki, width, format.
get-links-hereARead-onlyIdempotent
Lists pages that reference a target wiki page, returning each referencing page's title, page ID, namespace ID, and whether it is a redirect. The type parameter selects the relationship — wikilinks (pages that link to the target), transclusions (pages that embed it, such as a template), or fileusage (pages that display it, for File pages) — one relationship per call. With expandRedirects, a referencing redirect also yields the pages that link through it (wikilinks and fileusage only), each tagged with the via redirect. Filter by namespace ID or by redirect status. For members of a category, use get-category-members; for full-text content search, use search-page. Returns up to 500 per call; paginate with continueFrom. The redirect flag appears only when the referencing page is a redirect.
Inputs: title (required), type, wiki, limit, +4 more.
get-pageARead-onlyIdempotent
Returns a single wiki page (wikitext source, rendered HTML, or metadata only). If the title does not exist, an error is returned. Use metadata=true to retrieve the revision ID (for edit-conflict detection), page size, and section outline. Set content="none" to fetch only metadata. Large content is truncated at 75000 bytes by default, with a marker reporting how much of it was returned and which sections a narrower read can target; a follow-up call with section=N fetches a specific section. For more than one page at a time, use get-pages. For a specific historical revision, use get-revision.
Inputs: title (required), wiki, content, section, +1 more.
get-page-historyARead-onlyIdempotent
Returns revision metadata (revision ID, timestamp, user, comment, size, minor flag) for a wiki page, in segments of 20 revisions, newest first. Paginate with olderThan or newerThan (mutually exclusive). If the title does not exist, an error is returned. Boolean flags appear only when true.
Inputs: title (required), wiki, filter, newerThan, +1 more.
get-pagesARead-onlyIdempotent
Returns multiple wiki pages in one call (wikitext source or metadata only). Suited to reading a cluster of related pages, diffing a page family, or syncing pages to local storage. Accepts up to 50 titles; missing pages are reported inline (not as errors). One byte budget covers the whole response, 75000 bytes by default: pages come back whole in the order asked for until it is spent, and the pages past that point are named rather than returned, so a follow-up call for those names fetches the rest. Only a first page larger than the budget on its own is truncated, with a marker reporting how much of it was returned and which sections a narrower read can target. For a single page or HTML output, use get-page. requestedTitle is included only when it differs from the resolved title.
Inputs: titles (required), wiki, content, metadata, +1 more.
get-random-pagesARead-onlyIdempotent
Returns randomly chosen wiki pages from one namespace, as each page's title, page ID, and namespace ID; the API counterpart of Special:Random. One call's pages are a fair random sample; separate calls can overlap because they read the same ordering from different starting points. There is no continuation; each call picks a new starting point. For page content, pass the titles to get-pages.
Inputs: wiki, limit, filter, namespace.
get-recent-changesARead-onlyIdempotent
Returns recent change events, newest first, in segments of 50. Defaults to edits and page creations; set types to include log actions, categorizations, or external changes. Each row includes title, timestamp, user, revision IDs, size change, flags (minor/bot/new/anon), tags, and change type. Filter by timestamp window, namespaces, user, change tag, or hide flags (hideBots/hideMinor/hideAnon/hideRedirects/hidePatrolled). Pass showPatrolStatus to include per-row patrol state (requires patrol rights). Paginate with the continue token from the truncation marker. For a single page's revision history, use get-page-history. Boolean flags appear only when true; rows report the size delta, not raw old/new lengths.
Inputs: tag, user, wiki, since, +11 more.
get-revisionARead-onlyIdempotent
Returns a specific historical revision of a wiki page by revision ID (wikitext source, rendered HTML, or metadata only). If the revision ID does not exist, an error is returned. Content is truncated at 75000 bytes by default; a past revision has no narrower read, so for a large one use compare-pages to see what changed. For the latest revision plus metadata, use get-page with metadata=true.
Inputs: revisionId (required), wiki, content, metadata.
get-site-infoARead-onlyIdempotent
Returns key facts about the targeted wiki from its MediaWiki siteinfo: general settings (sitename, MediaWiki version, content language, page-title case-sensitivity, live read-only state, and maxarticlesize in bytes), the namespace map with localized names and aliases, the list of installed extension names, and the content license. Set includeStatistics to also return page, article, edit, image, user, active-user, and admin counts.
Inputs: wiki, includeStatistics.
oauth-logoutADestructiveIdempotent
Removes stored OAuth tokens. With no argument, removes all stored tokens; with wiki, removes only that wiki. Stdio only.
Inputs: wiki.
oauth-statusARead-onlyIdempotent
Lists wikis with stored OAuth tokens, their scopes, and expiry. Stdio only. Never returns token values.
Inputs: no named parameters.
parse-wikitextARead-onlyIdempotent
Renders wikitext through the live wiki without saving. Returns HTML, parse warnings, categories, wikilinks, templates, external URLs, and display title. Suited to dry-running a planned edit before create-page or update-page, or previewing standalone wikitext (template combinations, sanitizer checks) with no target page. HTML output is truncated at 75000 bytes by default, with a marker reporting how much of it was returned; a smaller wikitext fragment in a follow-up call returns the rest.
Inputs: wikitext (required), wiki, title, applyPreSaveTransform.
search-pageARead-onlyIdempotent
Searches wiki page titles and page content (full-text) for the provided terms. Returns matching pages with a snippet, size, timestamp, and the namespace the match came from. Covers the namespaces the wiki counts as content unless namespaces names the namespace IDs to search; get-site-info lists a wiki's namespaces and flags which of them hold content. Accepts up to 100 matches per call (default 10); additional matches beyond the cap are flagged in the response — narrow the query to surface more. For title-prefix lookup (e.g. autocomplete), use search-page-by-prefix.
Inputs: query (required), wiki, limit, namespaces.
search-page-by-prefixARead-onlyIdempotent
Returns wiki page titles beginning with a given prefix (suited to autocomplete and title lookup). Only titles are returned — no snippets, sizes, or IDs. Accepts up to 500 titles per call (default 10); additional matches beyond the cap are flagged in the response. For full-text content search, use search-page.
Inputs: prefix (required), wiki, limit, namespace.
whoamiARead-onlyIdempotent
Returns the identity the current session is authenticated as on the targeted wiki: the username, whether the session is anonymous (no user is logged in), and the user groups it belongs to. Set includeRights to also return the full list of user rights. Use to confirm who edits and uploads will be attributed to before writing — for example, to resolve your own username before building a title under your own user namespace (User:/…). Reports anonymous access rather than failing when the session has no credentials. For which wikis have stored OAuth tokens and their scopes, use oauth-status instead.
Inputs: wiki, includeRights.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Every tool targets a distinct resource+action, and descriptions explicitly cross-reference the nearest neighbor (search-page vs search-page-by-prefix, get-page vs get-pages vs get-revision, get-file vs get-file-data, get-links-here vs get-category-members). The single/multi and metadata/content splits are clearly signposted, leaving little room for misselection.
Most tools follow a predictable verb_noun kebab-case pattern (search-page, get-page-history, compare-pages, get-category-members, parse-wikitext). A handful deviate with noun-only or namespace-prefixed names (whoami, oauth-status, oauth-logout, bucket-query), which is readable but not fully uniform.
19 tools is slightly above the comfortable 3-15 band but each earns its place across genuinely distinct sub-areas: search, page reads, revisions/diffs, files, categories/links, site metadata, auth, and Bucket queries. The breadth of the MediaWiki read surface justifies the count rather than padding it.
Read coverage is thorough, but the surface is read-only: parse-wikitext tells agents to dry-run edits before create-page/update-page, and whoami references confirming identity before writing/uploads, yet no create/update/delete/move/upload tools exist. These are dead ends for any write workflow the descriptions imply.
Related MCP Connectors
Read-only MCP for the Eco game wiki: search, Markdown pages, and wiki_* lookups. No keys, no writes.
Read-only RS3 GE guide prices/history, optional reported buy/sell trades, buy-limit/alchemy facts, flip math and public hiscores. Search Wiki sources, list category members, and read structured monster/quest/drop facts. Guide prices lag activity; trades are not executable offers. Wiki article text requires reviewed revisions; other pages return links. Streamable HTTP; no account or API key. Independent Birdwell Labs project, unaffiliated with Jagex or the RuneScape Wiki.
Connect to your MediaWiki using simple credentials and manage content without OAuth. Search, read,…
Search and read Wikipedia articles and sections, list cited references, nearby pages, and languages.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables interaction with Old School RuneScape game data and Wiki through the Model Context Protocol, providing tools to search the OSRS Wiki and access game definitions for items, NPCs, locations, and game mechanics.2367 npm40MIT
- AlicenseAqualityBmaintenanceProvides 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.10MIT
- AlicenseNot gradedqualityAmaintenanceEnables LLM clients to read, search, create, edit, move, and delete pages and files across any MediaWiki wiki, including extension data from Wikibase, Semantic MediaWiki, Cargo, Bucket, and NeoWiki. Supports multiple wikis with per-wiki resources and OAuth-backed permissions.8 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables LLM clients to search, read, compare, and edit pages on any MediaWiki wiki, including multi-wiki setups with OAuth-authenticated writes. It also queries extension data such as Wikibase entities, Semantic MediaWiki and Cargo results, and Bucket Lua queries.8 npmMIT