worldanvil-mcp-server
MCP server for World Anvil that enables browsing, searching, and managing world content, plus exporting complete copies for migrations or backups.
README
worldanvil-mcp-server
MCP server for World Anvil: browse, search, and manage a world's content, and export a complete copy for migrations or backups. 18 focused tools.
Unofficial community project, not affiliated with World Anvil. Requires Node 18+.
Tools
| Group | Tools |
|---|---|
| Navigate | list_worlds, get_world, get_identity, list_categories |
| Articles | list_articles (all pages, category/type filters), search_articles (title/slug/tags), get_article (full BBCode content + template fields) |
| Assets | list_assets (secrets, maps, timelines, histories, notebooks, subscribergroups), get_asset (maps/notebooks include their full hierarchy) |
| Search | search_content (full-text across articles, secrets, notes), find_references (backlinks to an article) |
| Export | export_world (raw JSON tree + image binaries + id→slug index, to disk) |
| Write | create_article (defaults private+draft), update_article, delete_article, create_category, update_category, delete_category |
Setup
npm install
npm run build
Credentials
Both from worldanvil.com → profile picture → User API Tokens:
WA_AUTH_TOKEN— your personal API tokenWA_APPLICATION_KEY— via the Application Key Form on the same page (manually approved by World Anvil).
Alternatively, WA_API_BASE_URL can point at a proxy that injects an application key
(instead of WA_APPLICATION_KEY). Only use a proxy you run or trust — your auth token,
which grants full API access to your account, transits it on every request.
Claude Code
claude mcp add --scope user worldanvil \
-e WA_AUTH_TOKEN=your-token \
-e WA_APPLICATION_KEY=your-app-key \
-- node /absolute/path/to/worldanvil-mcp/dist/index.js
Claude Desktop
Add to the config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json):
"worldanvil": {
"command": "node",
"args": ["/absolute/path/to/worldanvil-mcp/dist/index.js"],
"env": {
"WA_AUTH_TOKEN": "your-token",
"WA_APPLICATION_KEY": "your-app-key"
}
}
Behavior worth knowing
- Content search uses a local cache. The first
search_content/find_referencescall on a world fetches every article body (about a minute for a few hundred articles); after that, every call re-syncs only what changed. The cache lives in~/.cache/worldanvil-mcp/(%LOCALAPPDATA%\worldanvil-mcp\cacheon Windows), is only a search index, and is safe to delete — it rebuilds itself. - Article content is World Anvil BBCode. Links between entities appear as
@[Title](type:uuid)mentions;find_referencessearches for the uuid, so backlinks are exact. - Exports are raw and honest.
export_worldwrites untouched API payloads, one file per entity, plusentities.json(id →{kind, title, slug, file}) for rewriting mention links during a migration. Anything it could not fetch or resolve is listed inmanifest.json— never silently dropped. It refuses to write into a directory that isn't empty or a previous export. - Upstream API limitations (World Anvil's side, all surfaced in tool output):
image endpoints currently return errors, so embedded
[img:id]references may be unresolvable; marker listings on private maps return 403 even for the map's owner (set a map public temporarily to read its markers); article comments are not exposed by the API at all.
Development
npm run dev # run from source
node scripts/smoke.mjs # MCP handshake + tool list
node scripts/smoke.mjs <tool> '<json>' # call one tool (WA_* env vars required)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.