Skip to main content
Glama
wiseoldman-mcp

wiseoldman-mcp

by jhaenen

wiseoldman-mcp

An MCP server that wraps the Wise Old Man OSRS stat-tracking API (https://docs.wiseoldman.net/api), exposing it as tools for MCP-compatible clients (Claude Code, Claude Desktop, etc).

Covers the full documented API surface: players, groups, competitions, records, deltas, name changes, and efficiency (EHP/EHB) — 54 tools total, all prefixed wom_.

Setup

npm install
npm run build

Optionally copy .env.example to .env and set WOM_API_KEY (raises the rate limit from 20 to 100 requests/60s — request one in the WOM Discord). Mutating actions (create/edit/delete groups & competitions) don't need this key; they use a per-resource verificationCode returned when you create that resource.

Related MCP server: OSRS-STAT

Running locally

npm run dev          # run directly with tsx, no build step
npm run inspector     # open the MCP Inspector against the server for manual testing

Register with Claude Code

claude mcp add wiseoldman -- node /path/to/wiseoldman_mcp/dist/index.js

(Run npm run build first so dist/index.js exists. Re-run the build after pulling changes.)

Register with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "wiseoldman": {
      "command": "node",
      "args": ["/path/to/wiseoldman_mcp/dist/index.js"],
      "env": { "WOM_API_KEY": "..." }
    }
  }
}

Project layout

  • src/womClient.ts — thin fetch wrapper around the WOM REST API (auth headers, error normalization). Nothing here is MCP-specific.

  • src/enums.ts — reference lists (skills, bosses, periods, etc) baked into tool descriptions. Kept as plain strings rather than strict zod enums, since WOM adds new bosses/activities over time — the live API remains the source of truth for validation.

  • src/toolHelpers.ts — shared result/error formatting for tool handlers.

  • src/tools/*.ts — one file per API resource, each registering its tools on the McpServer instance.

  • src/index.ts — wires everything together and connects over stdio.

Roadmap: remote hosting with OAuth (Authentik)

Right now this only runs locally over stdio, which is fine for a single user's local clients. Deploying it as a shared/remote server later will need:

  • Swapping StdioServerTransport for the SDK's StreamableHTTPServerTransport, run behind an actual HTTP server (e.g. Express/Hono).

  • An OAuth layer in front of it (the MCP spec expects OAuth 2.1 with PKCE for remote servers) — Authentik can act as the authorization server; the transport setup would validate the bearer token per-request against Authentik's introspection/JWKS endpoint.

  • The wom client and all tool registration code is transport-agnostic already, so none of src/tools/* or src/womClient.ts should need to change — only src/index.ts and a new auth-checking layer around it.

Not implemented yet — flagging so the current structure doesn't need rework when we get there.

Available Tools

54 tools
wom_add_competition_participantsAdd competition participantsA

Adds participants (by username) to an existing classic competition. Requires the verification code.

Inputs: id (required), participants (required), verificationCode (required).

wom_add_competition_teamsAdd competition teamsB

Adds teams to an existing team competition. Requires the verification code.

Inputs: id (required), teams (required), verificationCode (required).

wom_add_group_membersAdd group membersB

Adds one or more members to an existing group. Requires the group's verification code.

Inputs: id (required), members (required), verificationCode (required).

wom_assert_player_typeAssert player typeA

Asserts and attempts to fix a player's game-mode type (regular/ironman/hardcore/ultimate) if it's out of sync.

Inputs: username (required).

wom_change_group_member_roleChange group member roleB

Changes a single member's role within a group. Requires the group's verification code.

Inputs: id (required), role (required), username (required), verificationCode (required).

wom_create_competitionCreate competitionA

Creates a new competition. Returns the created competition plus a verification code - store this code, it's required for all future edits/deletes and cannot be recovered. Either provide participants for a classic competition, or teams for a team competition (not both), or link it to a group via groupId/groupVerificationCode to include all group members.

Inputs: title (required), endsAt (required), metric (required), startsAt (required), +4 more.

wom_create_groupCreate groupA

Creates a new Wise Old Man group. Returns the created group plus a verification code - store this code, it's required for all future edits/deletes and cannot be recovered.

Inputs: name (required), members (required), clanChat, homeworld, +1 more.

wom_delete_competitionDelete competitionA

Permanently deletes a competition. Requires the competition's verification code. This cannot be undone.

Inputs: id (required), verificationCode (required).

wom_delete_groupDelete groupA

Permanently deletes a group. Requires the group's verification code. This cannot be undone.

Inputs: id (required), verificationCode (required).

wom_edit_competitionEdit competitionA

Edits an existing competition's details, participants, or teams. Requires the competition's verification code.

Inputs: id (required), verificationCode (required), teams, title, +4 more.

wom_edit_groupEdit groupB

Edits an existing group's details and/or replaces its member list. Requires the group's verification code.

Inputs: id (required), verificationCode (required), name, members, +6 more.

wom_get_competitionGet competition detailsC

Fetches a competition's full details, including participants and their progress.

Inputs: id (required), metric.

wom_get_competition_csvExport competition as CSVC

Exports a competition's details/standings as a CSV-formatted string.

Inputs: id (required), table, metric, teamName.

wom_get_competition_top_historyGet competition top participants' historyA

Fetches the chronological value history for the top 5 participants of a competition - useful for plotting a race chart.

Inputs: id (required), metric.

wom_get_delta_leaderboardGet global delta (gains) leaderboardB

Fetches the current top-gains leaderboard for a metric/period across all players.

Inputs: metric (required), period (required), country, playerType, +1 more.

wom_get_efficiency_leaderboardGet global efficiency leaderboardB

Fetches the global efficiency leaderboard (EHP, EHB, or combined EHP+EHB).

Inputs: metric (required), limit, offset, country, +2 more.

wom_get_efficiency_ratesGet efficiency rates configA

Fetches the current EHP/EHB rate configuration (xp/hr or kills/hr rates per skill or boss) used for a given account type.

Inputs: type (required), metric (required).

wom_get_groupGet group detailsA

Fetches a group's full details, including its member list.

Inputs: id (required).

wom_get_group_achievementsGet group achievementsB

Fetches the most recent achievements unlocked by members of a group.

Inputs: id (required), limit, offset.

wom_get_group_activityGet group activity logB

Fetches the group's activity log (joins, leaves, role changes).

Inputs: id (required), limit, offset.

wom_get_group_bulk_gainedGet group gains (all metrics)C

Fetches every member's gains across all metrics at once, over a period or custom date range.

Inputs: id (required), period, endDate, startDate.

wom_get_group_bulk_hiscoresGet group hiscores (all metrics)C

Fetches every group member's full stats in a single request.

Inputs: id (required).

wom_get_group_competitionsGet group competitionsB

Fetches all competitions hosted by a group.

Inputs: id (required), limit, offset.

wom_get_group_gainedGet group gains (single metric)A

Fetches the top gains leaderboard within a group for a single metric, over a period or custom date range.

Inputs: id (required), metric (required), limit, offset, +3 more.

wom_get_group_hiscoresGet group hiscores (single metric)A

Fetches the group's internal hiscores ranking for a single metric.

Inputs: id (required), metric (required), limit, offset.

wom_get_group_members_csvExport group members as CSVB

Exports the group's member list as a CSV-formatted string.

Inputs: id (required).

wom_get_group_name_changesGet group name changesA

Fetches recent approved name changes among a group's members.

Inputs: id (required), limit, offset.

wom_get_group_recordsGet group records leaderboardB

Fetches the record leaderboard (best gains ever) for a metric/period, scoped to group members.

Inputs: id (required), metric (required), period (required), limit, +1 more.

wom_get_group_statisticsGet group statisticsB

Fetches aggregate statistics for a group (average stats, top leaders, maxed counts, etc).

Inputs: id (required).

wom_get_playerGet player detailsA

Fetches a player's full details (stats, latest snapshot, combat level, etc) by username.

Inputs: username (required).

wom_get_player_achievement_progressGet player achievement progressA

Fetches a player's progress towards every possible achievement, including ones not yet completed.

Inputs: username (required).

wom_get_player_achievementsGet player achievementsB

Fetches a player's currently completed achievements.

Inputs: username (required).

wom_get_player_archivesGet player archivesA

Fetches previous archived profiles that used to hold this username (e.g. after an unregistered name change).

Inputs: username (required).

wom_get_player_by_idGet player details by IDB

Fetches a player's full details by their numeric Wise Old Man ID.

Inputs: id (required).

wom_get_player_competitionsGet player competitionsC

Fetches all competitions a player has participated in.

Inputs: username (required), status.

wom_get_player_competition_standingsGet player competition standingsB

Fetches a player's rank/standing in each of their competitions, filtered by status.

Inputs: status (required), username (required).

wom_get_player_gainedGet player gainsA

Fetches how much a player has gained across all metrics, for a given period or custom date range.

Inputs: username (required), period, endDate, startDate.

wom_get_player_groupsGet player groupsB

Fetches all groups a player is a member of.

Inputs: username (required), limit, offset.

wom_get_player_namesGet player name change historyA

Fetches all approved past name changes for a player.

Inputs: username (required).

wom_get_player_recordsGet player recordsB

Fetches a player's best recorded gains (records), optionally filtered by period and/or metric.

Inputs: username (required), metric, period.

wom_get_player_snapshotsGet player snapshotsB

Fetches a player's past stat snapshots, optionally filtered by period or a custom date range.

Inputs: username (required), limit, offset, period, +2 more.

wom_get_player_snapshots_timelineGet player snapshot timelineB

Fetches a single metric's value over time for a player, as a date/value timeseries - useful for plotting progress.

Inputs: metric (required), username (required), period, endDate, +1 more.

wom_get_record_leaderboardGet global record leaderboardB

Fetches the global leaderboard of the single biggest gains ever recorded for a metric/period.

Inputs: metric (required), period (required), country, playerType, +1 more.

wom_remove_competition_participantsRemove competition participantsA

Removes participants (by username) from a competition. Requires the verification code.

Inputs: id (required), participants (required), verificationCode (required).

wom_remove_competition_teamsRemove competition teamsB

Removes teams (by name) from a team competition. Requires the verification code.

Inputs: id (required), teamNames (required), verificationCode (required).

wom_remove_group_membersRemove group membersA

Removes one or more members from a group by username. Requires the group's verification code.

Inputs: id (required), usernames (required), verificationCode (required).

wom_search_competitionsSearch competitionsB

Searches Wise Old Man for competitions matching optional title/type/status/metric filters.

Inputs: type, limit, title, metric, +2 more.

wom_search_groupsSearch groupsA

Searches Wise Old Man for groups by partial name match.

Inputs: name, limit, offset.

wom_search_name_changesSearch name changesA

Searches Wise Old Man for player name change requests, optionally filtered by username and/or status.

Inputs: limit, offset, status, username.

wom_search_playersSearch playersB

Searches Wise Old Man for players by partial username match.

Inputs: username (required), limit, offset.

wom_submit_name_changeSubmit name changeA

Submits a name change request from an old username to a new one. Returns the pending NameChange object; Wise Old Man will asynchronously verify it against the player's hiscore history.

Inputs: newName (required), oldName (required).

wom_update_all_competition_participantsUpdate all outdated competition participantsA

Queues an update/refresh for every outdated participant in the competition (retries up to 3 times). Requires the verification code. Avoid calling this too frequently.

Inputs: id (required), verificationCode (required).

wom_update_all_group_membersUpdate all outdated group membersA

Queues an update/refresh for every outdated member in the group. Requires the group's verification code. Avoid calling this too frequently for the same group.

Inputs: id (required), verificationCode (required).

wom_update_playerTrack/update playerA

Tracks a new player or forces a refresh of an existing player's stats from the OSRS hiscores. Avoid calling this repeatedly for the same player - prefer intervals of 1-6 hours to avoid rate limits/IP bans.

Inputs: username (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 54 tools

    Disambiguation5/5

    Each tool targets a distinct action and entity (player, group, competition, leaderboard, name change). Despite the large number, descriptions clearly differentiate between similar tools (e.g., gained vs bulk_gained, hiscores vs bulk_hiscores). No two tools have overlapping purposes.

    Naming Consistency5/5

    All tools follow the consistent pattern 'wom_verb_noun' in snake_case. Verbs are uniform (search, get, update, create, delete, edit, add, remove, change, submit). No mixing of conventions or unpredictable naming.

    Tool Count3/5

    54 tools is high relative to typical MCP servers, but the Wise Old Man API has a broad surface covering players, groups, competitions, leaderboards, and name changes. The count is justified but pushes the boundary; some bulk variants could potentially be merged.

    Completeness5/5

    The tool surface covers all major domains of WOM: player CRUD and stats, group management with member operations, competition lifecycle and participant handling, various leaderboards, name change submission, and exports (CSV). No obvious gaps for the intended use case.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      Not graded
      maintenance
      MCP Server for interacting with Old School RuneScape Wiki API and game data files, providing tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.
      19
      50 npm
      1
      -
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that provides real-time player statistics and ranking data of 'Old School RuneScape', supporting multiple game modes and player comparison functions.
      4
      2
      Apache 2.0