Minecraft Modding MCPのロゴ

Minecraft Modding MCP

コミュニティ
OGMatrix

mcmodding-mcp is a Model Context Protocol (MCP) server that gives AI assistants like Claude direct access to Minecraft modding documentation. Instead of relying on potentially outdated training data, your AI assistant can search real documentation, find code examples, and explain concepts accurately.

公開者OGMatrix
リポジトリmcmodding-mcp
言語TypeScript
フォーク
6
スター
67
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Minecraft Modding MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには67件のスターと6件のフォークがあります。

MCModding-MCP

🤖 AI-Powered Minecraft Modding Documentation Server

Give your AI assistant real-time access to Fabric & NeoForge documentation

npm version npm downloads License: MIT CI

GitHub stars GitHub issues GitHub last commit Node.js

📖 Documentation • 🚀 Quick Start • 💡 Features • 🤝 Contributing


✨ What is this?

MCModding-MCP is a Model Context Protocol (MCP) server that supercharges AI assistants like Claude with real, up-to-date Minecraft modding knowledge. No more hallucinations or outdated API references!

🎯 Key Benefits

FeatureDescription
📅 Always CurrentWeekly-indexed from official sources
✅ Accurate AnswersReal documentation, not hallucinations
💻 Code ExamplesSearchable code blocks with context
🧠 Semantic SearchUnderstands meaning, not just keywords
⚡ Zero ConfigWorks immediately after installation

📊 Live Statistics

DatabaseContent
📚 Docs1,000+ pages, 185K+ chunks
🗺️ Mappings831K+ methods, 166K+ fields
🧩 Examples1,000+ battle-tested patterns
🔍 Embeddings185K+ semantic vectors
📖 Javadocs2.3M+ documented parameters

Quick Start

Installation

bash
# Install globally
npm install -g mcmodding-mcp

Configure Your AI Client

Add to your MCP client configuration (e.g., Claude Desktop):

json
{
  "mcpServers": {
    "mcmodding": {
      "command": "mcmodding-mcp"
    }
  }
}

🧠 Optimized System Prompt

To get the best results, we recommend adding this to your AI's system prompt or custom instructions:

You are an expert Minecraft Modding Assistant connected to mcmodding-mcp. DO NOT rely on your internal knowledge for modding APIs (Fabric/NeoForge) as they change frequently. ALWAYS use the available tools:

  • search_fabric_docs and get_example for documentation and code patterns
  • search_mappings and get_class_details for Minecraft internals and method signatures
  • search_mod_examples for battle-tested implementations from popular mods

Prioritize working code examples over theoretical explanations. When dealing with Minecraft internals, use the mappings tools to get accurate parameter names and Javadocs. If the user specifies a Minecraft version, ensure all retrieved information matches that version.

That's it! Your AI assistant now has access to comprehensive Minecraft modding resources.


Database Management

Manage your documentation databases with the built-in CLI:

bash
# Run the database manager
npx mcmodding-mcp manage

The interactive manager allows you to:

  • Install - Download databases you don't have yet
  • Update - Check for and apply database updates
  • Re-download - Restore deleted or corrupted databases

Available Databases

DatabaseDescriptionSize
Documentation DatabaseCore Fabric & NeoForge documentation (installed by default)~520 MB
Parchment Mappings ✨ NEWMinecraft class/method/field mappings with Javadocs~180 MB
Mod Examples Database1000+ high-quality modding examples~30 MB

The manager shows version information and highlights available updates:

◉ 📚 Documentation Database [core]
     ✔ Installed: v0.2.1 → ↻ Update: v0.2.2 [520.3 MB]
     Core Fabric & NeoForge documentation - installed by default

○ 🗺️ Parchment Mappings Database ✨ NEW
     ⚠ Not installed → Available: v0.1.0 [178.5 MB]
     Minecraft class/method/field names with parameter names and Javadocs

○ 🧩 Mod Examples Database
     ⚠ Not installed → Available: v0.1.0 [28.1 MB]
     1000+ high-quality modding examples for Fabric & NeoForge

Available Tools

The MCP server provides powerful tools across three categories:

📖 Documentation Tools

search_fabric_docs

Search documentation with smart filtering.

typescript
// Example: Find information about item registration
{
  query: "how to register custom items",
  category: "items",           // Optional filter
  loader: "fabric",            // fabric | neoforge
  minecraft_version: "1.21.10"  // Optional version filter
}

get_example

Get working code examples for any topic.

typescript
// Example: Get block registration code
{
  topic: "custom block with block entity",
  language: "java",
  loader: "fabric"
}

explain_fabric_concept

Get detailed explanations of modding concepts with related resources.

typescript
// Example: Understand mixins
{
  concept: 'mixins';
}

get_minecraft_version

Get current Minecraft version information.

typescript
// Get latest version
{
  type: 'latest';
}

// Get all indexed versions
{
  type: 'all';
}

🗺️ Parchment Mappings Tools ✨ NEW

Requires Parchment Mappings database - install via npx mcmodding-mcp manage

search_mappings

Search Minecraft class, method, and field mappings with parameter names and Javadocs.

typescript
// Example: Find block-related classes and methods
{
  query: "BlockEntity",
  type: "class",              // class | method | field | all
  minecraft_version: "1.21.10",
  include_javadoc: true
}

get_class_details

Get comprehensive information about a Minecraft class including all methods and fields.

typescript
// Example: Explore the Block class
{
  class_name: "net.minecraft.world.level.block.Block",
  include_methods: true,
  include_fields: true
}

lookup_obfuscated

Look up deobfuscated names from obfuscated identifiers (useful for crash logs).

typescript
// Example: Decode an obfuscated method name
{
  obfuscated_name: 'm_46859_';
}

get_method_signature

Get the full signature of a method including all parameter names and types.

typescript
// Example: Get method details
{
  class_name: "Block",
  method_name: "onPlace"
}

browse_package

Discover classes in a Minecraft package.

typescript
// Example: Browse block package
{
  package_name: 'net.minecraft.world.level.block';
}

🧩 Mod Examples Tools

Requires Mod Examples database - install via npx mcmodding-mcp manage

search_mod_examples

Search battle-tested code from popular mods like Create, Botania, and Applied Energistics 2.

typescript
// Example: Find block entity implementations
{
  query: "block entity tick",
  mod: "Create",              // Optional: filter by mod
  category: "tile-entities",
  complexity: "intermediate"
}

get_mod_example

Get detailed information about a specific example with full code and explanations.

typescript
// Example: Get full details for an example
{
  id: 42,
  include_related: true
}

list_canonical_mods

Discover all indexed mods and their available examples.

list_mod_categories

Browse available example categories (blocks, entities, rendering, etc.).


Features

Hybrid Search Engine

Combines multiple search strategies for best results:

StrategyPurpose
FTS5 Full-TextFast keyword matching with ranking
Semantic EmbeddingsUnderstanding meaning and context
Section SearchFinding relevant documentation sections
Code SearchLocating specific code patterns

Auto-Updates

The database automatically checks for updates on startup:

  • Compares local version with GitHub releases
  • Downloads new versions with hash verification
  • Creates backups before updating
  • Non-blocking - server starts immediately

Documentation Sources

Currently indexes:


For Developers

Development Setup

bash
# Clone repository
git clone https://github.com/OGMatrix/mcmodding-mcp.git
cd mcmodding-mcp

# Install dependencies
npm install

# Run in development mode
npm run dev

Build Commands

bash
# Development
npm run dev              # Watch mode with hot reload
npm run typecheck        # TypeScript type checking
npm run lint             # ESLint
npm run test             # Run tests
npm run format           # Prettier formatting

# Production
npm run build            # Build TypeScript
npm run build:prod       # Build with fresh documentation index
npm run index-docs       # Index documentation with embeddings

# Database Management
npx mcmodding-mcp manage # Interactive database installer/updater

Project Structure

mcmodding-mcp/
├── src/
│   ├── index.ts              # MCP server entry point
│   ├── db-versioning.ts      # Auto-update system
│   ├── indexer/
│   │   ├── crawler.ts        # Documentation crawler
│   │   ├── chunker.ts        # Text chunking
│   │   ├── embeddings.ts     # Semantic embeddings
│   │   ├── store.ts          # SQLite database
│   │   └── sitemap.ts        # Sitemap parsing
│   ├── services/
│   │   ├── search-service.ts # Search logic
│   │   └── concept-service.ts # Concept explanations
│   └── tools/
│       ├── searchDocs.ts     # search_fabric_docs handler
│       ├── getExample.ts     # get_example handler
│       └── explainConcept.ts # explain_fabric_concept handler
├── scripts/
│   └── index-docs.ts         # Documentation indexing script
├── data/
│   ├── mcmodding-docs.db     # SQLite database
│   └── db-manifest.json      # Version manifest
└── dist/                     # Compiled JavaScript

Database Schema

sql
-- Documents: Full documentation pages
CREATE TABLE documents (
  id INTEGER PRIMARY KEY,
  url TEXT UNIQUE NOT NULL,
  title TEXT NOT NULL,
  content TEXT NOT NULL,
  category TEXT NOT NULL,
  loader TEXT NOT NULL,          -- fabric | neoforge | shared
  minecraft_version TEXT,
  hash TEXT NOT NULL             -- For change detection
);

-- Chunks: Searchable content units
CREATE TABLE chunks (
  id TEXT PRIMARY KEY,
  document_id INTEGER NOT NULL,
  chunk_type TEXT NOT NULL,      -- title | section | code | full
  content TEXT NOT NULL,
  section_heading TEXT,
  code_language TEXT,
  word_count INTEGER,
  has_code BOOLEAN
);

-- Embeddings: Semantic search vectors
CREATE TABLE embeddings (
  chunk_id TEXT PRIMARY KEY,
  embedding BLOB NOT NULL,       -- 384-dim Float32Array
  dimension INTEGER NOT NULL,
  model TEXT NOT NULL            -- Xenova/all-MiniLM-L6-v2
);

-- FTS5 indexes for fast text search
CREATE VIRTUAL TABLE documents_fts USING fts5(...);
CREATE VIRTUAL TABLE chunks_fts USING fts5(...);

Release Workflow

This project uses release-please for automated releases.

Branch Strategy

BranchPurpose
devActive development
prodProduction releases

How It Works

  1. Push commits to dev using conventional commits
  2. Release-please maintains a Release PR (dev → prod)
  3. When merged, automatic release: npm publish + GitHub release + database upload
  4. Changes sync back to dev

See RELEASE_WORKFLOW.md for complete details.


Configuration

Environment Variables

VariableDescriptionDefault
DB_PATHCustom database path./data/mcmodding-docs.db
GITHUB_REPO_URLCustom repo for updatesAuto-detected
MCP_DEBUGEnable debug loggingfalse

Disabling Auto-Updates

Set DB_PATH to a custom location to manage updates manually:

bash
DB_PATH=/path/to/my/database.db mcmodding-mcp

💡 Share Your Ideas!

We're actively developing mcmodding-mcp and want to hear from you!

Have an Idea?

  • Feature requests - What tools would make your modding easier?
  • New documentation sources - Know a great modding resource we should index?
  • Workflow improvements - How could the tools work better for your use case?

👉 Open a Feature Request

Found a Bug?

  • Incorrect search results?
  • Missing or outdated documentation?
  • Tool not working as expected?

👉 Report a Bug

Share Your Experience

Using mcmodding-mcp for a cool project? We'd love to hear about it! Share your story in Discussions.


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Quick Contribution Guide

  1. Fork the repository
  2. Create a feature branch from dev
  3. Make changes with conventional commits
  4. Submit a PR to dev

License

MIT License - see LICENSE for details.

Changelog

See CHANGELOG.md for a detailed history of changes and releases.


Acknowledgments


🎮 Built with ❤️ for the Minecraft modding community

Made with TypeScript Powered by SQLite Uses MCP

If you find this project useful, please consider giving it a ⭐!

⬆️ Back to Top

Minecraft Modding MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Minecraft Modding MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Minecraft Modding MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Minecraft Modding MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "mcmodding-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMinecraft Modding MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Minecraft Modding MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Minecraft Modding MCPを使ってこのタスクを手伝ってもらえますか?
Minecraft Modding MCP
はい、読みました。
Minecraft Modding MCPで調べた結果をお伝えします。

よくある質問

Minecraft Modding MCP MCPサーバーは何に使いますか?

Minecraft Modding MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMinecraft Modding MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMinecraft Modding MCPを利用できます。

TypingMindでMinecraft Modding MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Minecraft Modding MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Minecraft Modding MCP MCPをTypingMindに接続するにはどうすればよいですか?

Minecraft Modding MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMinecraft Modding MCP MCPのどのようなツールを利用できますか?

Minecraft Modding MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Minecraft Modding MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Minecraft Modding MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇