Dwarf Fortress (DFHack)
io.github.alexanderolvera/dfhack-mcp
v1.4.1Updated Jul 26, 2026stdio · npm
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add dfhack-mcp -e DFHACK_HOST=127.0.0.1 -e DFHACK_PORT=5000 -- npx -y [email protected]Configuration
3 settings.
DFHACK_HOSTEnv var· optionalHost running DFHack's remote RPC server. Defaults to 127.0.0.1.Default:127.0.0.1DFHACK_PORTEnv var· optionalPort for DFHack's remote RPC server. Defaults to 5000.Default:5000DFHACK_MCP_ACTUATORSEnv var· optionalSet to any value to expose the write tools. Unset, the server is read-only.
Links
Listed in the official MCP Registry since Jul 26, 2026. Mirrored daily; last checked Nov 26, 2026.