Modlens MCP
MCP server by CreeperHost Verified · npm:@creeperhost
Modlens MCP browses, decompiles and analyzes Minecraft mod JARs through an MCP server and CLI. It is aimed at Minecraft mod developers who work with AI assistants.
Install Modlens MCP
Built from the published package, never by AI.
claude mcp add modlens-mcp -- npx -y @creeperhost/modlens-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"modlens-mcp": {
"args": [
"-y",
"@creeperhost/modlens-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"modlens-mcp": {
"args": [
"-y",
"@creeperhost/modlens-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"modlens-mcp": {
"args": [
"-y",
"@creeperhost/modlens-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add modlens-mcp -- npx -y @creeperhost/modlens-mcp{
"mcpServers": {
"modlens-mcp": {
"args": [
"-y",
"@creeperhost/modlens-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add modlens-mcp npx -y @creeperhost/modlens-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the modlens-mcp block.
About
Modlens MCP is an MCP server and CLI for browsing, decompiling and analyzing Minecraft mod JARs. It stores mod metadata, class indexes, mixin targets, AT and AW entries and decompiled source in a local database. The default is embedded SQLite, which needs no setup, and PostgreSQL or PGlite are also available.
It can import the compile classpath of a Gradle project, with a ModDevGradle 2.x adapter, so the AI can see project-specific access changes and mapped names. An optional runtime tool can prepare and launch a Minecraft development client and capture screenshots. It is aimed at Minecraft mod developers who use AI coding assistants.
Written from the project's README and checked against it.
Tools it gives your assistant
runtimePrepares and launches a Minecraft development client, captures screenshots and controls game input.projectLists, inspects and searches imported Gradle project snapshots, including classes, source and members.report_issuePrepares a GitHub issue draft with the ModLens version and an optional sanitized diagnostic excerpt.mc_sourceWorks with shared Minecraft source inputs alongside the project tool.modWorks with shared mod inputs alongside the project tool.
What you need
- Node.js 22.23.4+, 24.22.1+ or 26.12.1+
- JDK 21 or newer for decompilation and bytecode analysis
- Docker, only for the optional PostgreSQL backend
- Optional CurseForge API key
- Optional Modrinth token
Try asking
- Decompile the main class of this mod JAR and summarize it
- Search my Gradle project snapshot for uses of a mapped class
- Launch my Minecraft dev client and take a screenshot
Good to know
- Runtime support varies by version: SDL on 26.3, GLFW on 1.13 to 1.21, LWJGL2 on 1.7.10 to 1.12.2.
- Automatic Gradle source discovery is only implemented for ModDevGradle 2.x.
- A search miss does not prove absence from binaries that have no sources.
- Gradle exports are compile-time context, not a simulation of runtime mixins or coremods.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Modlens MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Modlens MCP: common questions
Does Modlens MCP need a database server?
No. By default it creates an embedded SQLite database at ~/.modlens/data/modlens.db. PostgreSQL or PGlite are optional alternatives.
Which Gradle setups are supported?
The source names ModDevGradle 2.x as the supported adapter. Other Java projects can export their resolved compile classpath, but automatic source discovery for ForgeGradle, NeoGradle and Loom is not implemented.
Does the report_issue tool post to GitHub by itself?
No. The source says ModLens does not publish the report itself. Reports are submitted only when the user asks for it.
How do I install Modlens MCP?
In Claude Code run claude mcp add modlens-mcp -- npx -y @creeperhost/modlens-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Modlens MCP the official server?
Modlens MCP is published by npm:@creeperhost from its verified domain in the official MCP Registry.
Is Modlens MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Modlens MCP safe to use?
It scores 62 of 100. Grades: maintenance B, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Modlens MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Modlens MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
