Skip to main content
Glama
README.md
# mcp-minecraft-forge

MCP server for Forge Minecraft modding documentation. Gives AI assistants direct access to Forge docs with structured search results.

## Features

- **Documentation Search**: Full-text search across all Forge versions (1.12.x - 1.21.x)
- **Structured Results**: Returns title, category, URL, and content preview
- **Code Examples**: Extracts code blocks separately for easy access
- **Multi-Version**: Supports 12 Forge versions
- **Auto-Indexed**: Documentation is automatically re-indexed weekly via GitHub Actions
- **Offline**: Works completely offline after initial indexing

## Database Stats

- **731 documents** across 12 Forge versions (1.12.x - 1.21.x)
- **4,536 searchable chunks** (titles, sections, code blocks)
- **1,750 code examples**


## Installation

### From NPM

```bash
npm install -g @hayrem_/mcp-minecraft-forge
```

### From GitHub

```bash
git clone https://github.com/Hayremyt/mcp-minecraft-forge.git
cd mcp-minecraft-forge
npm install -g
```

## Configure Your AI Client

Add to your MCP client configuration:

```json
{
  "mcp": {
    "forge": {
      "type": "local",
      "command": ["mcp-minecraft-forge"],
      "enabled": true
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `search_forge_docs` | Search Forge documentation with optional category and version filters |
| `get_example` | Get code examples for specific topics |
| `explain_forge_concept` | Get detailed explanation of Forge concepts |
| `list_forge_versions` | List all available Forge versions |
| `get_database_stats` | Get database statistics |

## Auto-Indexing

Documentation is automatically re-indexed every Sunday at 00:00 UTC via GitHub Actions.

Or locally:
```bash
npm run index-docs
```

## Project Structure

```
mcp-minecraft-forge/
├── .github/workflows/index-docs.yml  # Weekly auto-indexing
├── data/
│   └── forge-docs.db                 # SQLite database (10 MB)
├── dist/                             # Compiled JavaScript
├── src/
│   ├── index.ts                      # MCP server entry
│   ├── services/
│   │   ├── database.ts               # SQLite operations
│   │   └── search-service.ts         # Search logic
│   └── tools/                        # MCP tool handlers
├── scripts/
│   ├── index-docs.ts                 # Documentation indexer
│   └── postinstall.js                # Post-install script
└── package.json
```

## License

MIT

TDQS

B3.4/5.0

Scored across 5 tools

Disambiguation4/5

Most tools have distinct purposes: search, get example, explain concept, and list versions are clearly different. However, the get_database_stats tool seems unrelated to Forge modding, potentially causing confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., search_forge_docs, list_forge_versions). The naming is predictable and clear.

Tool Count5/5

With 5 tools, the server is well-scoped for a documentation-focused MCP. Each tool contributes to the core functionality of exploring Forge modding resources.

Completeness4/5

The set covers key documentation tasks: searching, getting examples, explaining concepts, and listing versions. The get_database_stats tool is a minor outlier, and there is no tool for browsing or summarizing documentation, but core needs are met.

Maintenance

ActivityStale
ResponsivenessNo issues