LocalFree

Dwarf Fortress (DFHack) MCP server

alexanderolvera/dfhack-mcp

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

2 GitHub stars1 forks200 npm downloads / month

Install Dwarf Fortress (DFHack) in Claude Code

Claude Code
claude mcp add dwarf-fortress-dfhack -- npx -y dfhack-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "dwarf-fortress-dfhack": {
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Dwarf Fortress (DFHack) MCP server do?

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

Is the Dwarf Fortress (DFHack) MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Dwarf Fortress (DFHack) run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Dwarf Fortress (DFHack) to Claude Code?

Run: claude mcp add dwarf-fortress-dfhack -- npx -y dfhack-mcp

More ai agents & coding agents MCP servers

View all