Dwarf Fortress (DFHack)
Rank #13,295io.github.alexanderolvera/dfhack-mcp
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
Dwarf Fortress (DFHack) is a Model Context Protocol (MCP) server published by alexanderolvera. It ranks #13,295 of 132,046 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. Dwarf Fortress (DFHack) is listed across 2 registries — Official MCP and Glama, with 2 tracked versions. It was first listed on Jul 16, 2026 and most recently updated on Jul 26, 2026.
Ranks ahead of 118,751 of 132,046 servers on MCP Toplist.
Use Dwarf Fortress (DFHack)
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add dfhack-mcp -e "DFHACK_HOST=<your DFHACK_HOST>" -e "DFHACK_PORT=<your DFHACK_PORT>" -e "DFHACK_MCP_ACTUATORS=<your DFHACK_MCP_ACTUATORS>" -- npx -y dfhack-mcpReplace each placeholder with your own value before saving.
[mcp_servers.dfhack-mcp]
command = "npx"
args = ["-y", "dfhack-mcp"]
[mcp_servers.dfhack-mcp.env]
DFHACK_HOST = "<your DFHACK_HOST>"
DFHACK_PORT = "<your DFHACK_PORT>"
DFHACK_MCP_ACTUATORS = "<your DFHACK_MCP_ACTUATORS>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<your DFHACK_HOST>",
"DFHACK_PORT": "<your DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<your DFHACK_MCP_ACTUATORS>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<your DFHACK_HOST>",
"DFHACK_PORT": "<your DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<your DFHACK_MCP_ACTUATORS>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"dfhack-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<your DFHACK_HOST>",
"DFHACK_PORT": "<your DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<your DFHACK_MCP_ACTUATORS>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<your DFHACK_HOST>",
"DFHACK_PORT": "<your DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<your DFHACK_MCP_ACTUATORS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<your DFHACK_HOST>",
"DFHACK_PORT": "<your DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<your DFHACK_MCP_ACTUATORS>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.alexanderolvera%2Fdfhack-mcp)<a href="https://mcptoplist.com/server/io.github.alexanderolvera%2Fdfhack-mcp"><img src="https://mcptoplist.com/badge/io.github.alexanderolvera%2Fdfhack-mcp.svg" alt="MCP Toplist: Top 25% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries
alexanderolvera
Available versions (2)
| Version | Published |
|---|---|
| 1.4.1 | Jul 26, 2026 |
| 1.4.0 | Jul 25, 2026 |
Frequently asked questions
- Who maintains Dwarf Fortress (DFHack)?
- Dwarf Fortress (DFHack) is maintained by alexanderolvera, which publishes 1 MCP server (2 total versions) tracked on MCP Toplist.
- Is Dwarf Fortress (DFHack) listed on the Official MCP Registry?
- Yes — Dwarf Fortress (DFHack) is listed on the Official MCP Registry, alongside Glama.
- How many versions does Dwarf Fortress (DFHack) have?
- MCP Toplist tracks 2 versions of Dwarf Fortress (DFHack), most recently published on Jul 26, 2026.
- Where can I find the source code for Dwarf Fortress (DFHack)?
- The source code for Dwarf Fortress (DFHack) is hosted at github.com/alexanderolvera/dfhack-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.