Skip to main content

MCP Server for Minecraft datapack development with wiki, Spyglass, Misode, and Mojira integrations

Project description

๐ŸŽฎ MineCode

MCP Server for Minecraft Datapack Development

PyPI Python License

MineCode is a Model Context Protocol (MCP) server that gives AI assistants like GitHub Copilot and Claude real-time access to Minecraft data, documentation, and datapack generators.

alt text

โœจ Features

  • ๐Ÿ”ง 27 MCP Tools for Minecraft development
  • ๐Ÿ“š Minecraft Wiki integration (search, pages, categories)
  • ๐Ÿ› Mojira bug tracker search
  • ๐Ÿ” Spyglass API (registries, commands, block states)
  • ๐ŸŽจ Misode Generators (loot tables, recipes, worldgen presets)

๐Ÿš€ Installation

pip install minecode-mcp

โš™๏ธ Configuration

VS Code (GitHub Copilot)

Add to User Settings (Ctrl+Shift+P โ†’ "MCP: Open User Configuration"):

{
	"servers": {
		"minecode": {
			"type": "stdio",
			"command": "py",
			"args": [
				"-m",
				"minecode.server"
			]
		}
	},
	"inputs": []
}

Or create .vscode/mcp.json in your workspace:

{
	"servers": {
		"minecode": {
			"type": "stdio",
			"command": "py",
			"args": [
				"-m",
				"minecode.server"
			]
		}
	},
	"inputs": []
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "minecode": {
      "command": "minecode"
    }
  }
}
OS Config Path
Windows %APPDATA%\Claude\claude_desktop_config.json
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Linux ~/.config/Claude/claude_desktop_config.json

๐Ÿ› ๏ธ Available Tools

Minecraft Wiki

Tool Description
search_wiki Search for wiki pages
get_wiki_page Get page content and summary
get_wiki_commands List all Minecraft commands
get_wiki_category Get pages in a category
get_wiki_page_content Get full page content for a wiki page
get_wiki_command_info Get detailed command documentation from the wiki
get_wiki_random Get random wiki pages

Mojira Bug Tracker

Tool Description
search_mojira Search bug reports

Spyglass API

Tool Description
spyglass_get_versions Get all MC versions with pack formats
spyglass_get_registries Get registry entries (items, blocks, entities)
spyglass_get_block_states Get block state properties
spyglass_get_commands Get command syntax trees
spyglass_get_items Get list of items for a version
spyglass_search_registry Search a Spyglass registry for a query
spyglass_get_mcdoc_symbols Get vanilla mcdoc symbols from Spyglass

Misode Generators

Tool Description
misode_get_generators List all datapack generators
misode_get_presets Get vanilla presets for a generator
misode_get_preset_data Get full JSON for a preset
misode_get_loot_tables Get loot tables by category
misode_get_recipes Get recipes with filtering
misode_list_versions List available Misode/Minecraft versions
misode_get_data Get raw Misode data for a version and data type
misode_search_data Search Misode data for a query

Utility

Tool Description
hello_world Test connectivity
get_minecraft_version Get version info
validate_datapack Validate datapack structure
list_commands List commands for a version

๐Ÿ’ก Example Prompts

"Create a custom dimension with floating islands"

"What are the block states for a redstone repeater?"

"Show me the loot table for a desert temple chest"

"Search Mojira for elytra bugs"

"What's the syntax for the /execute command?"


๐Ÿ“ Project Structure

minecode-mcp/
โ”œโ”€โ”€ minecode/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ server.py          # MCP server with 27 tools
โ”‚   โ””โ”€โ”€ scrappers/
โ”‚       โ”œโ”€โ”€ minecraftwiki.py
โ”‚       โ”œโ”€โ”€ mojira.py
โ”‚       โ”œโ”€โ”€ spyglass.py
โ”‚       โ””โ”€โ”€ misode.py
โ”œโ”€โ”€ example/
โ”‚   โ””โ”€โ”€ crystal_dimension/ # Example datapack
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ readme.md

๐ŸŒ Data Sources

Source Description
Minecraft Wiki Game documentation
Mojira Bug tracker
Spyglass MC Registries & commands
Misode Vanilla presets

๐Ÿ“„ License

MIT License - see LICENSE


Made with ๐Ÿ’œ for the Minecraft community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecode_mcp-0.1.2.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minecode_mcp-0.1.2-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file minecode_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: minecode_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for minecode_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4b931b9c7da2f103b6e40380472cb47a1796e0371c55262f181569e8fb795e09
MD5 d814799ff16b8c3e29f05179f85ffcca
BLAKE2b-256 f76abea3a50f489783166747c4f713de8fd8fefaa4ba789aa466d730b9d7b8de

See more details on using hashes here.

File details

Details for the file minecode_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: minecode_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for minecode_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ff874f2ee535b344d58a3ca5144f7cd27e4a127211c3e6d3de4be01fa10f1b8
MD5 e54ca0a4ab040380758edb1adbdfc6ed
BLAKE2b-256 3cd685e9e15971abe42a2fe0cf2ca00d3ee5ebe7071296c02bdbf354302dcd68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page