1. Moddium
  2. API and MCP

API and MCP

Every Moddium wiki can be read by programs as well as people. The JSON API and the MCP server are free. You sign in once, with Google, Discord or a link sent by email, and use is limited per account so that it stays free for everyone.

Limits and terms

MCP server

The MCP server lets AI agents search the wikis and read pages. It uses the Streamable HTTP transport and only reads.

Its address is https://moddium.com/mcp. To add it to Claude Code:

claude mcp add --transport http moddium https://moddium.com/mcp

Most other clients take it in their settings like this:

{
  "mcpServers": {
    "moddium": { "type": "http", "url": "https://moddium.com/mcp" }
  }
}

Signing in

The first time your app connects, Moddium answers that you need to sign in, as the MCP specification describes (OAuth 2.1). Your app opens the Moddium sign-in page in your browser, and the page says which app is asking. Sign in with Google, Discord or an email link, and your app is connected; it renews its access by itself. You never need to copy a key into an AI app.

An agent that reaches the server without signing in gets a 401 whose WWW-Authenticate header points to the description of the server, and a message saying that a sign-in is needed, so that it can tell you.

Tools

Every page is also a resource, moddium://minecraft/create/steam-engine.

JSON API

Plain HTTPS GET requests that answer with JSON, open to any website (CORS). Sign in to make an API key (free), and send it with every request:

Authorization: Bearer mdk_...

Without a key the answer is 401, and says how to get one.

curl -H "Authorization: Bearer $MODDIUM_KEY" "https://moddium.com/api/v1/search?q=steam+engine&wiki=minecraft/create"

Pages as Markdown, and llms.txt

The pages themselves stay open to everyone. Add .md to any page's address to get it as Markdown, such as /minecraft/create/steam-engine.md. /llms.txt lists every page for language models, and /llms-full.txt has all of them in one file.

What the answers rest on

Each page's Markdown ends with its notes. Every statement points to one: game data, the mod's source code with a link to the exact lines, a test run in the real game with what it measured, or an interpretation we label as ours. Please keep that distinction when you pass the answers on.