Skip to content
Verified official

Dwarf Fortress (DFHack) MCP

v1.4.1

io.github.alexanderolvera/dfhack-mcp

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add dfhack-mcp -e DFHACK_HOST=<DFHACK_HOST> -e DFHACK_PORT=<DFHACK_PORT> -e DFHACK_MCP_ACTUATORS=<DFHACK_MCP_ACTUATORS> -- npx -y dfhack-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.