
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@tibia.sh/tibiawiki-mcp
Advanced tools
Offline MCP server for TibiaWiki: attribute queries over creatures, items, NPCs, quests and spells
An offline MCP server for TibiaWiki. It answers the questions the wiki itself cannot:
The server makes no outbound network calls. Every answer comes from a local SQLite snapshot that installs with it, so queries return in milliseconds and work offline.
TibiaWiki runs on Fandom without Cargo, Semantic MediaWiki or CirrusSearch, so there is
no way to query it by attribute. Every structured value is trapped inside Infobox
wikitext, and the built-in search returns Dragon Necklace for fire resistant dragon.
The public REST API over the same wiki exposes exactly one query parameter. Building a
local index is the only way to ask a real question.
node:sqlite landed in 22.5 and is unflagged from 22.13).uv only if you build your own index.pnpm add -g @tibia.sh/tibiawiki-mcp
The index comes with it as
@tibia.sh/tibiawiki-data, an 18 MB
dependency. You don't build anything first.
Two ways, and they ship different things.
As an MCP server only, from the npm package:
claude mcp add --transport stdio tibiawiki -- npx -y @tibia.sh/tibiawiki-mcp
As a plugin, the server plus a skill that teaches an agent how to query it: name
resolution, the 100-is-neutral modifier convention and the data quirks that produce wrong
answers. The plugin pieces never reach the npm tarball, because package.json has
files: ["dist", "data/spell-areas.json", "data/tibiawikisql-requirements.txt"].
This repository is also the plugin's marketplace. Add it, then install the plugin:
claude plugin marketplace add tibia-sh/tibiawiki-mcp
claude plugin install tibiawiki-mcp@tibiawiki-mcp
In a session, /plugin marketplace add tibia-sh/tibiawiki-mcp and
/plugin install tibiawiki-mcp@tibiawiki-mcp do the same, and /plugin install asks which
scope you want. From the shell, the plugin installs at user scope by default, so it loads in
every project.
The plugin runs the published package through npx, at the exact version it was released
with. It needs no pnpm install and no build. The first start downloads the package, and
later starts work offline.
Updates arrive with releases. Auto-update is off by default for third-party marketplaces, so you update the plugin yourself:
claude plugin update tibiawiki-mcp@tibiawiki-mcp
A tibiawiki server you added earlier with claude mcp add runs beside the plugin's server
when its command differs from the plugin's, as the npm package command above does. Remove it
with claude mcp remove tibiawiki -s <scope>. For a server in local scope, the default, run
that from the project you added it in.
In a checkout, claude --plugin-dir . loads the plugin for one session. It still runs the
published package at the pinned version, not your local source.
To serve the tools over Streamable HTTP instead of stdio, run:
tibiawiki-mcp serve --http [--host <address>] [--port <number>]
It listens on 127.0.0.1:8080 unless you pass --host or --port. Point your client at
http://<host>:<port>/mcp. The endpoint is stateless and works with clients on protocol versions
2025-11-25 and 2026-07-28.
On a loopback address the server rejects a request to /mcp with a foreign Host or Origin
header. On any other address it skips those checks. Put your own edge in front of it to handle those
checks and TLS.
Request bodies are capped at 64 KiB and need a Content-Length. GET /ping answers 200
for health checks.
On SIGTERM the server answers new requests with 503 and gives the ones in flight up to
10 s to finish. Ctrl-C does the same, and a second Ctrl-C stops it at once.
To use the tools without installing anything, add https://mcp.tibia.sh/wiki to your client as a
remote MCP server. It needs no auth.
It serves the same five tools as a local install, over Streamable HTTP. It runs the versions
tibia-sh/mcp.tibia.sh pins. The landing page at
https://mcp.tibia.sh/ shows them.
The rate limit is about 300 JSON-RPC messages a minute per IPv4 address or IPv6 /64, counted per Cloudflare location. claude.ai users share Anthropic's egress IPs, so they share each address's limit.
Cloudflare processes every request, and your IP address is used for rate limiting. Cloudflare's analytics may keep sampled request details, such as your IP address, under Cloudflare's own policies. The service writes no request logs, only startup, sleep and error lines, with no data from your requests, and keeps them for 7 days.
The MCP server alone gives an agent the tools. The bundled skill gives it the judgement to use them well, and it costs one line of context until it fires:
tibia_search before tibia_getmodifier_fire: 0
is immune to fire, not weak to ithitpoints: null means unrecorded, not zero: 433 creatures have no recorded healthimbuement.slots is a category list, not a countinclude_inactive: true| Tool | Answers |
|---|---|
tibia_search | "Is there a page called roughly X?" |
tibia_get | "Tell me everything about X." X can be a creature, item, NPC, quest or spell |
tibia_find_creatures | "Which creatures match these stats?" |
tibia_find_items | "Which items match these stats?" |
tibia_how_to_obtain | "Where do I get X?" Drops, vendors and quest rewards in one call |
Damage modifiers are percentages where 100 is neutral: above 100 the creature takes
extra damage from that element. weak_to and resistant_to encode that for you.
Deprecated, event-only and unavailable pages are excluded by default; pass
include_inactive: true to see them.
A fresh install resolves the newest data release this server can read. An existing install keeps its release until you update it. For data fresher than the last release, build your own index:
tibiawiki-mcp build-index # about 6 minutes
It writes to $TIBIAWIKI_MCP_DB if you set it, and to
${XDG_CACHE_HOME:-~/.cache}/tibiawiki-mcp/tibiawiki.db otherwise. A failed build
never replaces a working index, because the new one is validated before it is
installed. Every answer reports indexGeneratedAt, so staleness is always visible to
whoever is asking.
The build runs the generator from a throwaway environment that uv creates in your temp
directory. uv pip install --require-hashes installs it from
data/tibiawikisql-requirements.txt, which pins the generator and every dependency to an
exact version, with a hash for every file uv may download. A download that does not
match its hash stops the build before the generator runs. The environment is deleted as
soon as the generator exits, or as soon as a step before it fails. uv still reads your
own settings, such as UV_CACHE_DIR and UV_EXCLUDE_NEWER.
The environment runs CPython 3.10 to 3.13. uv uses one you have installed, or downloads
one. The range stops before 3.14 because mwparserfromhell 0.7.2, the newest release of
one of the generator's dependencies, ships no wheels for 3.14, and the build never
compiles a dependency from source.
The server reads the first index it finds:
$TIBIAWIKI_MCP_DB => an explicit path always wins${XDG_CACHE_HOME:-~/.cache}/tibiawiki-mcp/tibiawiki.db => an index you built@tibia.sh/tibiawiki-data => the data release installed with the serverA built index keeps winning over every later data release. If the server cannot read it, you get an error, not a fallback. Delete it to go back to the packaged one.
tibiawiki-mcp index-digest <path> prints a SHA-256 over the rows and columns the tools
read from an index. Two indexes with the same digest hold the same rows, in any stored
order. Build stamps such as indexGeneratedAt are left out. The data repo's drift job
will use it to tell new wiki content from a rebuild of the same content.
Spell area shapes are decoded once and committed to data/spell-areas.json. To find
out whether TibiaWiki has re-uploaded any of the source animations since:
pnpm decode-spell-areas <path-to-index.db> --check
It fetches metadata only, prints any image whose revision moved (and any new
candidate the file has never seen), and exits non-zero if there is drift, so it can
run on a schedule. Re-run without --check to regenerate.
To move data/tibiawikisql-requirements.txt to newer releases, run:
pnpm lock-generator
It resolves the generator and its dependencies afresh with the uv on your PATH, using
only files uploaded at least 7 days before the run. The old lock plays no part, so its
pins cannot hold back the new resolution. Before it writes the new lock, it runs a dry-run
install without a build for every CPython the range admits, on every platform the header
lists, and it refuses to write a lock that fails any of them.
The range is GENERATOR_PYTHON in src/indexer/build-index.ts. To raise the cap once
every dependency ships wheels for a newer Python, raise the constant and run
pnpm lock-generator, which checks the new version too. Until the lock is regenerated,
pnpm test fails on its header.
The lock's header records the cutoff, the uv version, the Python range, the platforms
checked and the command. To reproduce a lock, put the uv version named in its header
first on your PATH, and pass the header's cutoff. Leave out any uv setting of your own
that changes how uv resolves, such as a uv.toml or UV_INDEX_URL, because the header
cannot record it:
pnpm lock-generator --cutoff <cutoff>
Releases go to npm as @tibia.sh/tibiawiki-mcp, starting at 0.1.0.
docs/RELEASING.md covers how a release is published and what to do
when one fails.
The version number describes the server, not the data. The index ships separately as
@tibia.sh/tibiawiki-data, and its major
version is the index schema version. The server depends on ^3, the schema it reads.
test/data-package.test.ts keeps that range in step with MCP_SCHEMA_VERSION, so npm
refuses to install an index the server cannot read.
The caret is a deliberate exception to this repository's exact pins. An exact 3.0.0
would keep major 4 out just as well, so the caret is not what guards the schema. It lets
an install, a hosted instance included, pick up each compatible data release without a
server release. pnpm add does not write ^3, so edit the range by hand.
The tarball ships exactly dist/, data/spell-areas.json and
data/tibiawikisql-requirements.txt, plus the package.json,
README.md and LICENSE npm always adds; test/packaging.test.ts runs
npm pack --dry-run as part of pnpm test, so anything else leaking in fails CI.
pnpm smoke <tarball-or-package@version> is the consumer-side check: it installs the
package into a throwaway directory and drives the installed binary over real stdio and HTTP,
against a local tarball before publishing and against the registry after.
Data from TibiaWiki (https://tibia.fandom.com), licensed CC BY-SA. Tibia is made by CipSoft; game content and images are copyright CipSoft GmbH.
The index is generated by tibiawiki-sql (Apache-2.0). Images are deliberately never fetched or stored.
This project's own code is MIT licensed, see LICENSE. That covers the code only. The
data it serves is CC BY-SA and not ours to relicense.
FAQs
Offline MCP server for TibiaWiki: attribute queries over creatures, items, NPCs, quests and spells
The npm package @tibia.sh/tibiawiki-mcp receives a total of 0 weekly downloads. As such, @tibia.sh/tibiawiki-mcp popularity was classified as not popular.
We found that @tibia.sh/tibiawiki-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.