Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 62
  • 7 stars
  • 39 a week
  • MIT
  • Updated

Install Modlens MCP

Built from the published package, never by AI.

claude mcp add modlens-mcp -- npx -y @creeperhost/modlens-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Modlens MCP in Claude Code

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 →

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.

Modlens MCP Install

Add to stack

Loading.