mcpbeat Sign in

Dwarf Fortress (DFHack) MCP Server

by alexanderolvera Your server? Claim it
local only

Dwarf Fortress (DFHack) runs on your own machine — the client starts it, so there is no endpoint to ping. 64 installs a week from npm. Last commit 26 Jul 2026.

MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools

Installs per day peak 245 · avg 35 · -86% w/w
a month agotoday
64
Installs / week
npm · dfhack-mcp
1
Stars
16 open issues
26 Jul 2026
Last commit
0 releases in 90 days
ISC
License
Lua

Nothing serious here today

Today is the operative word: we check Dwarf Fortress (DFHack) every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add dfhack-mcp -- npx -y dfhack-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.dfhack-mcp]
command = "npx"
args = ["-y", "dfhack-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: DFHACK_HOST (Host running DFHack's remote RPC server. Defaults to 127.0.0.1.), DFHACK_PORT (Port for DFHack's remote RPC server. Defaults to 5000.), DFHACK_MCP_ACTUATORS (Set to any value to expose the write tools. Unset, the server is read-only.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Dwarf Fortress (DFHack)

same job, measured the same way
Backtest360
by backtest360

MCP server exposing the Backtest360 engine API as tools for AI agents.

311 installs/wk 20 tools answering
Claudebox
by psyb0t

Self-hosted MCP server exposing Claude Code as an agentic AI tool over streamable HTTP.

local only
8004swap MCP
by stakemate369

MCP server exposing 8004Swap (no-KYC agent-to-agent RFQ swap) as tools any MCP agent can call.

26 installs/wk local only
Slac MCP
by dennisprediger

MCP server exposing SLAC (Simple Logic & Arithmetic Compiler) as tools for LLM agents

44 installs/wk local only
Yourimageshare
by mediashareorg

MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.

51 installs/wk local only
Openmm MCP
by qbt-labs

MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents

15 tools answering
Untappd
by darrenjrobinson

MCP server exposing Untappd API tools for AI agents — full v4 read API coverage

70 installs/wk local only
Modern CLI MCP Server
by nacosolutions

MCP server exposing 104+ modern CLI tools for AI agents with JSON output.

local only

Dwarf Fortress (DFHack) — questions

Answers built from our own checks of this server.

Why is there no uptime for Dwarf Fortress (DFHack)?
Dwarf Fortress (DFHack) runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package dfhack-mcp was installed 64 times last week.
How do I connect Dwarf Fortress (DFHack)?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls dfhack-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Dwarf Fortress (DFHack)?
The npm package dfhack-mcp was installed 64 times in the last week. Week over week that is -86%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Dwarf Fortress (DFHack) open source?
Yes — it is published under the ISC licence, written in Lua, 1 stars on GitHub and 16 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.