MCPcopy Create free account
hub / github.com/DFHack/dfhack

github.com/DFHack/dfhack @53.15-r1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 53.15-r1 ↗ · + Follow
10,119 symbols 27,546 edges 533 files 1,326 documented · 13% updated 3d ago53.15-r1 · 2026-06-25★ 2,0231,025 open issues

Browse by type

Functions 8,799 Types & classes 1,320
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DFHack Readme

Build Status Documentation Status License Discord

DFHack is a Dwarf Fortress memory access library, distributed with scripts and plugins implementing a wide variety of useful functions and tools.

The full documentation is available online here. If you have DFHack installed, it is also accessible as raw text in the hack/docs folder. If you're an end-user, modder, or interested in contributing to DFHack -- go read those docs.

If the docs are unclear or you need more help, please check out our support page for ways to contact the DFHack developers.

Core symbols most depended-on inside this repo

Shape

Function 4,509
Method 4,290
Class 1,165
Enum 155

Languages

C++89%
C9%
Python1%

Modules by API surface

depends/protobuf/google/protobuf/descriptor.pb.h345 symbols
library/LuaApi.cpp252 symbols
depends/lodepng/lodepng.cpp249 symbols
library/modules/Units.cpp158 symbols
depends/protobuf/google/protobuf/descriptor.cc156 symbols
depends/tinyxml/tinyxml.h131 symbols
plugins/stockpiles/StockpileSerializer.cpp108 symbols
library/LuaTools.cpp99 symbols
library/include/DataDefs.h94 symbols
depends/protobuf/google/protobuf/repeated_field.h94 symbols
library/include/DataIdentity.h91 symbols
depends/lua/src/lparser.c91 symbols

For agents

$ claude mcp add dfhack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page