๐ฅ Campfire¶
Gather your whole campaign around one fire.¶
Campfire is the open-source, self-hosted home for your tabletop game โ quests, NPCs, a living world and timeline, battle maps with fog of war, a full combat tracker, and auto-drafted session recaps, all in one place.
Then seat an AI Dungeon Master at the table โ a co-DM that only proposes, or a full driver that runs the session โ or drive the whole campaign from an AI agent over MCP. You host it. You own the data. One container, one volume.
Get started Meet the AI DM View on GitHub
Why Campfire¶
-
An AI in the DM seat
Optional and experimental โ seat an AI as a co-DM (it only proposes; every change lands in your approval queue) or a full driver that narrates and runs the session. Token budgets, a kill switch and player recovery levers keep you in control; it can never overwrite canon without a nod.
-
Everything a table needs
Campaigns, quests with objectives and subquests, NPCs and factions with secrets, a world map and a living timeline, character sheets with at-the-table HP and conditions, session prep, and auto-drafted recaps.
-
Run the fight
A full initiative/combat tracker with a dice roller and click-to-roll, battle maps with tokens and fog of war โ monster HP and hidden NPCs stay DM-only โ plus a player-display screen for the TV.
-
Real rule systems
Install D&D 5e, Pathfinder 2e and Open Legend in one click from open sources (more by mirror URL or open-licensed upload) โ statblocks, spells and rules lookups in a searchable compendium, dropped straight into an encounter.
-
Agent-operable over MCP
A built-in 277-tool MCP server exposes your campaign to any AI agent โ read, write, or fully run it โ with a DM-approval proposal queue so nothing touches your canon without approval, and every action audit-logged.
-
Self-hosted, secret, yours
DM-only fields, hidden entities and private notes are stripped server-side, never merely hidden in the browser. One Docker image, one SQLite volume; local accounts or your own SSO. MIT-licensed, export anytime โ no lock-in.
Project status
Campfire is in active development; the current release is v0.14.1. The core play loop is complete and well-tested, and the AI Dungeon Master is shipping but still gated as experimental โ see the Roadmap & status for exactly what's done, what's experimental, and what's planned next.