MapNetwork
Generate styled PNG/SVG map images of places in Japan with 11 customizable color themes.
作者提供的说明(英文原文)
Read and build LegendKeeper worlds from AI assistants: wiki pages, maps, timelines, facts and tags.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LEGENDKEEPER_API_KEY, LEGENDKEEPER_READ_ONLY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "your-value",
"LEGENDKEEPER_READ_ONLY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add legendkeeper --env LEGENDKEEPER_API_KEY=your-value --env LEGENDKEEPER_READ_ONLY=your-value -- uvx legendkeeper-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "your-value",
"LEGENDKEEPER_READ_ONLY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"legendkeeper": {
"type": "stdio",
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "your-value",
"LEGENDKEEPER_READ_ONLY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LEGENDKEEPER_READ_ONLY env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 chase-roohms 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:LEGENDKEEPER_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于22天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), Docker。
同一分类中有:MapNetwork, Wikivoyage MCP, String Db MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Generate styled PNG/SVG map images of places in Japan with 11 customizable color themes.
Wikivoyage travel guides: search destinations MCP: real tools for real work.
STRING protein networks: map identifiers and list interaction partners with confidence scores
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that lets AI assistants (Claude, Copilot, Cursor, …) read and build your LegendKeeper worlds: wiki pages, infobox facts, map pins, timelines, tags, templates and images, through LegendKeeper's official v3 REST API.
Unofficial. This project is not made, endorsed or supported by LegendKeeper. It runs locally on your machine
with your own API key.
You: Create a tavern called The Drunken Dragon in Waterdeep, give it an infobox with its owner and
a pin on the city map, and mention it on Volo's page. Claude: (search → create_resource → set_facts → create_map_feature → write_page) Done! ...
api_request escape hatch reaches every other v3 endpoint.[[Wiki Links]] become real LegendKeeper mentions. Callouts, GM-only secrets, collapsible sections, task lists, tables and images are supported. Blocks Markdown can't express (infoboxes, embeds, collections…) are preserved verbatim on rewrite. See How pages are edited.If-Match), so concurrent edits in the app are never silently overwritten."3 March 1204"), templates, batch creation of up to 100 linked resources, and image uploads from disk or URL.Retry-After, idempotency keys on every POST so retries never double-create, and rate-limit tracking.402 PAID_PLAN_REQUIRED otherwise.lk_… secret; it is shown only once.list_tags falls back to counting tags itself for Member keys), see member emails and save templates.Pick one. All of them read the key from LEGENDKEEPER_API_KEY.
uvx (no install):
LEGENDKEEPER_API_KEY=lk_... uvx legendkeeper-mcp check # verify the key
Docker:
docker run -i --rm -e LEGENDKEEPER_API_KEY=lk_... ghcr.io/chase-roohms/legendkeeper-mcp:latest check
pip:
pip install legendkeeper-mcp
legendkeeper-mcp check
check prints the world each configured key opens, then exits. Without check, the command starts the MCP server on stdio, which is what desktop clients launch for you (see below).
Before the first PyPI release, use `uvx --from git+https://github.com/chase-roohms/legendkeeper-mcp
legendkeeper-mcp
, or build the image yourself withdocker build -t legendkeeper-mcp .`.
Long-running HTTP server (Docker Compose):
cp .env.example .env # set LEGENDKEEPER_API_KEY and MCP_AUTH_TOKEN (openssl rand -hex 32)
docker compose up -d # serves http://localhost:8000/mcp, bound to 127.0.0.1 only curl http://localhost:8000/healthz
Point HTTP-capable clients at http://localhost:8000/mcp with the header Authorization: Bearer . Images placed in ./uploads can be uploaded with upload_image (source: /uploads/ ).
Ready-to-use files are in examples/.
Claude Desktop: add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude:
{
"mcpServers": { "legendkeeper": { "command": "uvx", "args": ["legendkeeper-mcp"], "env": { "LEGENDKEEPER_API_KEY": "lk_your_key_here" } } } }
VS Code (.vscode/mcp.json, the key is prompted for and stored securely):
{
"inputs": [{ "type": "promptString", "id": "lk-key", "description": "LegendKeeper API key", "password": true }], "servers": { "legendkeeper": { "type": "stdio", "command": "docker", "args": ["run", "-i", "--rm", "-e", "LEGENDKEEPER_API_KEY", "ghcr.io/chase-roohms/legendkeeper-mcp:latest"], "env": { "LEGENDKEEPER_API_KEY": "${input:lk-key}" } } } }
Claude Code:
claude mcp add legendkeeper --env LEGENDKEEPER_API_KEY=lk_... -- uvx legendkeeper-mcp
Cursor, Windsurf, others: same command/args/env as Claude Desktop, in the client's MCP config file.
Everything is configured with environment variables. CLI flags (--transport, --host, --port, --read-only) override them.
| Variable | Default | Description |
|---|---|---|
LEGENDKEEPER_API_KEY | — | API key for the project named default. |
LEGENDKEEPER_API_KEY_ | — | Additional worlds. LEGENDKEEPER_API_KEY_HOMEBREW becomes project homebrew. |
LEGENDKEEPER_API_KEY_FILE, LEGENDKEEPER_API_KEY_ _FILE | — | Read the key from a file (Docker secrets). |
LEGENDKEEPER_DEFAULT_PROJECT | default, else the first name | Which world tools use when project is omitted. |
LEGENDKEEPER_PROJECT_ID, LEGENDKEEPER_PROJECT_ID_ | discovered | Skip the lookup of the project id behind a key. |
LEGENDKEEPER_READ_ONLY | false | Only register reading tools; api_request allows GET only. |
LEGENDKEEPER_BASE_URL | https://www.legendkeeper.com | API origin (for proxies and mocks). |
LEGENDKEEPER_TIMEOUT | 30 | Request timeout in seconds. |
LEGENDKEEPER_MAX_RETRIES | 3 | Retries for 429/5xx/network errors. |
LEGENDKEEPER_UPLOAD_ROOT | unrestricted (/uploads in Docker) | upload_image may only read files under this directory. |
LEGENDKEEPER_MAX_UPLOAD_MB | 25 | Maximum image size. |
LEGENDKEEPER_ALLOW_URL_UPLOADS | true | Allow upload_image to download from http(s) URLs. |
LEGENDKEEPER_LOG_LEVEL | INFO | Log level (logs go to stderr; keys are never logged). |
MCP_TRANSPORT | stdio | stdio or http (streamable HTTP). |
MCP_HOST | 127.0.0.1 (0.0.0.0 in Docker) | HTTP bind address. |
MCP_PORT | 8000 | HTTP port. |
MCP_PATH | /mcp | HTTP endpoint path. |
MCP_AUTH_TOKEN, MCP_AUTH_TOKEN_FILE | — | Bearer token required on every HTTP request (except /healthz). |
MCP_ALLOW_UNAUTHENTICATED | false | Permit HTTP on a non-loopback address without a token (not recommended). |
MCP_ALLOWED_HOSTS | — | Comma-separated host:port values; enables DNS-rebinding protection (e.g. localhost:8000). |
LEGENDKEEPER_API_KEY_HOMEBREW=lk_aaa
LEGENDKEEPER_API_KEY_STRAHD=lk_bbb LEGENDKEEPER_DEFAULT_PROJECT=homebrew
Every tool takes an optional project argument ("strahd"), and list_projects shows what is configured.
| Area | Tools |
|---|---|
| Discover | list_projects, browse_tree, search, get_resource, list_tags, list_templates, list_calendars, list_members, list_assets |
| Read | read_document: pages as Markdown, maps as features with coordinates, timelines as lanes/events, boards as text. format: "json" returns raw API data. |
| Pages | write_page (modes append, prepend, replace, replace_section, append_to_section) |
| Resources | create_resource, create_resources (batch ≤ 100, nested via key/parent_key), update_resource (name, tags add/remove, aliases, icon, banner, hidden, locked), move_resource, delete_resource, restore_resource, create_from_template |
| Documents | create_document (page/map/time/board), update_document, delete_document |
| Facts | set_facts: key-value facts in the page infobox (created if missing) or the sidebar; null removes a fact |
| Maps | create_map_feature (pin/label/region/path/folder, lat/lng or pixel coordinates, link to a page), update_map_feature, delete_map_feature |
| Timelines | create_timeline_event (human dates parsed in the timeline's calendar, lane by name, created on demand), update_timeline_event, delete_timeline_event, create_timeline_lane |
| Assets | upload_image (local file or URL → asset URL usable in pages, banners and map images) |
| Anything else | api_request: any v3 endpoint of the project (boards, calendars, block-level edits, invites, restores…) |
The server also exposes two MCP resources the assistant can read: legendkeeper://guides/markdown (the Markdown dialect) and legendkeeper://guides/style (conventions for tags, icons, infoboxes, pins and events, adapted from LegendKeeper's style guide). Write tools are annotated so clients can ask for confirmation; destructive tools also require confirm: true.
LegendKeeper stores pages as a tree of typed blocks, not Markdown. This server converts in both directions:
| Markdown | LegendKeeper |
|---|---|
# … ######, paragraphs, - lists, 1. lists, > quotes, ``` code, ---, GFM tables | the matching blocks |
- [ ] task / - [x] done | task list |
> [!info], [!note], [!success]/[!tip], [!warning], [!error]/[!caution] | callout |
> [!secret] | secret block (GM-only, hidden from players and public pages) |
> [!expand] Title | collapsible section |
**b**, *i*, ~~s~~, `c` , , , , | text marks and colors |
| [[Name]], [[Name\|label]], [label](lk://resources/ ) | mention (link to anothe
只显示了开头部分;其余内容请在仓库中阅读