Cloud · MODEL CONTEXT PROTOCOL
L3 N0X Minecraft Wiki MCP
A MCP Server for browsing the official Minecraft Wiki!
连接能力
L3 N0X Minecraft Wiki MCP 为 AI Agent 提供什么
- **Wiki Search**: Find information about Minecraft structures, entities, items, and blocks
- **Page Navigation**: Get summaries and detailed content from wiki pages
- **Section Access**: Target specific sections within wiki pages
- **Category Browsing**: Explore wiki categories and their member pages
- **Multi-Language Support**: Connect to different language versions of the Minecraft Wiki
- `MinecraftWiki_searchWiki`: Search for structures, entities, items, or blocks
- `MinecraftWiki_getPageSummary`: Get page summary and list of available sections
- `MinecraftWiki_resolveRedirect`: Resolve redirect pages to their targets
- `MinecraftWiki_getPageContent`: Get full page content
- `MinecraftWiki_getPageSection`: Get specific section content
- `MinecraftWiki_getSectionsInPage`: Get overview of all sections in a page
- `MinecraftWiki_listAllCategories`: List all available categories
- `MinecraftWiki_listCategoryMembers`: List pages within a category
- `MinecraftWiki_getCategoriesForPage`: Get categories for a specific page
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
An MCP Server for browsing the official Minecraft Wiki!
Warning
This is v2 — a complete Python rewrite. If you're upgrading from v1 (TypeScript), see the migration notes below.
Tip
Public Hosted Instance: You can connect to the public hosted instance of this server directly at https://minecraft-wiki-mcp.goett.top/mcp without installing or running anything locally! See Streamable HTTP Transport below for instructions.
- Wiki Search — Find information about Minecraft structures, entities, items, and blocks
- Page Summaries — Get a page's intro plus a table of contents to navigate further
- Section Access — Read specific sections as raw wikitext
- Full Page Content — Retrieve the entire page when you need everything
- Category Browsing — Explore wiki categories and their member pages
- Redirect Resolution — Follow redirects to find the canonical page
- Multi-Language Support — Connect to any language version of the Minecraft Wiki
- Python 3.12+
- uv (recommended package manager)
# Clone the repository
git clone https://github.com/L3-N0X/Minecraft-Wiki-MCP.git
cd Minecraft-Wiki-MCP
# Install dependencies
uv sync
# Run the server
uv run minecraft-wiki-mcppip install -e .
minecraft-wiki-mcpAdd to your claude_desktop_config.json:
{
"mcpServers": {
"minecraft-wiki": {
"command": "uv",
"args": [
"--directory", "/path/to/Minecraft-Wiki-MCP",
"run", "minecraft-wiki-mcp"
]
}
}
}claude mcp add minecraft-wiki -- uv --directory /path/to/Minecraft-Wiki-MCP run minecraft-wiki-mcpBy default, the server connects to the English wiki (https://minecraft.wiki/api.php).
Set the MINECRAFT_WIKI_API_URL environment variable to use a different language:
{
"mcpServers": {
"minecraft-wiki": {
"command": "uv",
"args": [
"--directory", "/path/to/Minecraft-Wiki-MCP",
"run", "minecraft-wiki-mcp"
],
"env": {
"MINECRAFT_WIKI_API_URL": "https://de.minecraft.wiki/api.php"
}
}
}
}By default, the server uses stdio transport (communication via stdin/stdout). For remote or multi-client access, you can use Streamable HTTP transport:
# Start the HTTP server (default: http://127.0.0.1:8000/mcp)
uv run minecraft-wiki-mcp --transport streamable-httpThen connect clients to the HTTP endpoint. For example, to connect to the public hosted instance using Claude Code:
claude mcp add --transport http minecraft-wiki https://minecraft-wiki-mcp.goett.top/mcpOr for a local server:
claude mcp add --transport http minecraft-wiki http://localhost:8000/mcpThe public hosted URL https://minecraft-wiki-mcp.goett.top/mcp can be easily added across major platforms that support remote MCP connections or custom apps:
-
Claude Code:
claude mcp add --transport http minecraft-wiki https://minecraft-wiki-mcp.goett.top/mcp
-
Claude (Web & Desktop) & Perplexity:
- Open your settings/customization page (e.g., Customize -> Connectors in Claude).
- Select the option to add a remote server using the HTTP/SSE transport.
- Enter
https://minecraft-wiki-mcp.goett.top/mcpas the server URL.
-
ChatGPT Website (Custom Apps): ChatGPT supports connecting custom MCP servers natively (even on the free tier) when developer mode is enabled:
- Open ChatGPT Settings -> Apps -> Advanced Settings and enable Developer Mode.
- Go back and create a new app.
- Enter
https://minecraft-wiki-mcp.goett.top/mcpas the MCP server URL to connect.
Configure host, port, and security via environment variables:
| Variable | Default | Description |
|---|---|---|
MINECRAFT_WIKI_HOST |
127.0.0.1 |
Host to bind the HTTP server to |
MINECRAFT_WIKI_PORT |
8000 |
Port for the HTTP server |
MINECRAFT_WIKI_API_URL |
https://minecraft.wiki/api.php |
MediaWiki API endpoint |
MINECRAFT_WIKI_ENABLE_SECURITY |
Auto | Enforce DNS rebinding protection (Host/Origin header check). Defaults to true if hosting on localhost/loopback, and false otherwise (e.g. when binding to 0.0.0.0 on a VPS). |
MINECRAFT_WIKI_ALLOWED_HOSTS |
Auto | Comma-separated list of allowed Host headers. (e.g. mcp.example.com:*,123.45.67.89:*). Only active if security is enabled. |
MINECRAFT_WIKI_ALLOWED_ORIGINS |
Auto | Comma-separated list of allowed Origin headers. (e.g. https://mcp.example.com:*). Only active if security is enabled. |
| Tool | Description |
|---|---|
minecraft_wiki_search |
Search for pages by name (items, blocks, entities, structures) |
minecraft_wiki_get_page |
Get page summary + section list, or full page content |
minecraft_wiki_get_section |
Read a specific section's raw wikitext |
minecraft_wiki_resolve_redirect |
Check if a title redirects and find the target |
| Tool | Description |
|---|---|
minecraft_wiki_get_categories |
Get categories for a page, or browse categories by prefix |
minecraft_wiki_get_category_members |
List all pages in a category |
For best results, LLMs should follow this pattern:
- Search —
minecraft_wiki_searchto find the right page - Summarize —
minecraft_wiki_get_pageto see the intro and available sections - Deep dive —
minecraft_wiki_get_sectionto read specific sections
# Install dependencies
uv sync
# Run with the MCP Inspector for interactive testing
uv run mcp dev src/minecraft_wiki_mcp/server.py
# Syntax check
uv run python -m py_compile src/minecraft_wiki_mcp/server.pyA special thank you to stone-brick for developing the fantastic minecraft-wiki-MDifier library! This library converts complex Minecraft wikitext into clean, easy-to-read Markdown, which not only improves the parsing results of the MCP server but also significantly saves token usage for LLMs. Thank you for the help and for building this great library!
v2 is a complete rewrite from TypeScript to Python. Key changes:
| v1 Tool | v2 Tool | Notes |
|---|---|---|
MinecraftWiki_searchWiki |
minecraft_wiki_search |
Renamed |
MinecraftWiki_getPageSummary |
minecraft_wiki_get_page |
Now includes section list |
MinecraftWiki_getPageContent |
minecraft_wiki_get_page |
Use include_all_content=true |
MinecraftWiki_getSectionsInPage |
minecraft_wiki_get_page |
Section list included in response |
MinecraftWiki_getPageSection |
minecraft_wiki_get_section |
Returns wikitext instead of stripped HTML |
MinecraftWiki_getCategoriesForPage |
minecraft_wiki_get_categories |
Pass title parameter |
MinecraftWiki_listAllCategories |
minecraft_wiki_get_categories |
Pass prefix parameter |
MinecraftWiki_listCategoryMembers |
minecraft_wiki_get_category_members |
Renamed |
MinecraftWiki_resolveRedirect |
minecraft_wiki_resolve_redirect |
Renamed |
Other breaking changes:
- Configuration via
MINECRAFT_WIKI_API_URLenv var instead of--api-urlCLI flag - Runtime: Python 3.12+ with
uvinstead of Node.js - Content is raw wikitext instead of HTML-stripped text
社区