Minecraft Document MCP
Enables AI assistants to search and retrieve content from the Chinese Minecraft Wiki, including article introductions, full content, and category lists.
README
Minecraft Document MCP
一个基于 FastMCP 框架的 Minecraft 文档 MCP 服务器,为 AI 助手提供中文 Minecraft Wiki 文档查询功能。
功能特性
- Wiki 在线查询 - 从中文 Minecraft Wiki 获取词条内容
- 分类浏览 - 获取 Wiki 首页主要分类列表
- 简介/完整内容 - 支持获取词条简介或完整内容
- Markdown 输出 - 所有查询结果以 Markdown 格式返回
- MCP 协议支持 - 兼容 Model Context Protocol,可集成到 Claude Desktop 等客户端
MCP 工具
| 工具名称 | 功能描述 |
|---|---|
search_wiki_intro |
从 Wiki 搜索词条简介 |
search_wiki_full |
从 Wiki 搜索词条完整内容 |
get_wiki_categories |
获取 Wiki 首页主要分类列表 |
安装
环境要求
- Python 3.12+
- uv 包管理器(推荐)
使用 uv 安装
uv add minecraft-document-mcp
使用 pip 安装
pip install minecraft-document-mcp
使用方法
启动服务器
使用 fastmcp 运行
fastmcp run server.py
# 开发模式(支持热重载)
fastmcp dev server.py
使用安装后的命令行工具
# uvx 拉取
uvx minecraft-document-mcp
# minedoc 命令
uvx minecraft-document-mcp minedoc
# 配置 Claude Code
claude mcp add --transport stdio --scope user minedoc "uvx --from minecraft-document-mcp minedoc"
项目结构
minecraft-document-mcp/
├── pyproject.toml # 项目配置
└── minecraft_document_mcp/ # 主包
├── __init__.py
├── cli.py # MCP 服务器入口
└── src/
└── api/
├── __init__.py
├── WikiApi.py # Wiki API 请求工具
└── WikiItems.py # 数据项定义
依赖
- fastmcp - MCP 框架
- requests - HTTP 请求库
- beautifulsoup4 - HTML 解析
- markdownify - HTML 转 Markdown
- lxml - XML/HTML 解析后端
- dataclasses-json - 数据类序列化
许可证
相关链接
- Minecraft Wiki - 中文 Minecraft Wiki
- Model Context Protocol - MCP 协议文档
- FastMCP - FastMCP 框架
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.