JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 98
  • Score
    100M100P100Q86468F
  • License SEE LICENSE IN LICENSE

Your AI familiar for Foundry VTT. 176 tools across 24 domains — characters, scenes, combat, canvas, audio, macros, and more.

Package Exports

  • familiar-vtt

Readme

Familiar

Your AI co-pilot for Foundry VTT

175 tools. 28 AI providers. Zero prep.

Give your favorite AI full control of your virtual tabletop, characters, combat, scenes, music, lighting, images, voices, and everything in between.

Foundry v13+ npm License

Installation | Connect Your AI | FAQ | Roadmap

The story behind Familiar

I'm Ryan. Dad of two young kids, married to my favorite person, and perpetually short on free time.

My wife and I play D&D together, just the two of us, 1-on-1 campaigns. It's our thing. But solo DMing is a lot. You're the storyteller, every NPC, the rules engine, the sound guy, and the atmosphere all at once. I'd be mid-monologue as a mysterious stranger and then have to break character to roll initiative, look up a spell range, adjust the lighting, and find that one tavern ambience track I swore I bookmarked. By the time I got back to the scene, the moment was gone.

I wanted something that could handle the mechanical side of the table so I could stay in the story. Not a replacement DM, a co-pilot. Something I could say "roll initiative for the goblins, dim the torches, and start combat music" to, and it would just... do it. While I kept talking.

So I started building. First it was a handful of tools to move tokens and roll dice. Then I added combat tracking. Then scene management. Then I thought "what if it could also generate NPC portraits on the fly?" and "what if it could voice the tavern keeper?" and that's basically how you end up with 175 tools across 24 domains and 28 AI providers.

The thing is, Familiar works best when there is already great content in your world. The Foundry community has spent years building incredible modules, battle maps, character sheets, compendium packs, and ready-to-play adventures. Familiar does not try to replace any of that. It reads what is already there and uses it. Right now I'm running Ember, Foundry's own 500-hour sandbox campaign, with Familiar as my co-pilot. Every quest, NPC, map, and encounter is already in the world. The AI just picks it up and runs with it. That beautifully lit dungeon map someone spent weeks on? The AI can place tokens on it, trigger the right music, and run the encounter. Those compendium entries with pre-built monsters, spells, and items? The AI pulls from them instead of making things up. The more content your world has, the better Familiar gets.

That is also why module integrations are high on the roadmap. Tools like Midi-QOL, Sequencer, and JB2A already do amazing things, Familiar just needs to learn how to talk to them. The community built the stage. Familiar helps you run the show.

It started as a personal itch-scratcher for a dad who wanted to run better D&D games for his wife. It turns out a lot of GMs have the same itch.

What can Familiar do?

Ask your AI to do things that would normally take you minutes of clicking through menus:

"Roll initiative for all the goblins, have them attack the nearest player, and play battle music."

"Create a torchlit dungeon room, place the party at the entrance, and add three skeletons near the altar."

"What spells does Elara have prepared? Does she have enough slots to cast Fireball?"

"Dim the lights, start rain and thunder, and have the innkeeper whisper a warning about the road ahead, in his voice."

"We're done for tonight. Summarize what happened this session and save it."

Familiar exposes 175 tools across 24 domains through the Model Context Protocol. Five core bundles are always available; the rest load on demand when your AI needs them.

Highlights

Combat & AI

Run full encounters hands-free. Roll initiative, resolve attacks, apply damage, track conditions, or let the AI play NPCs with tactical decision-making.

Voice & Image Generation

Give every NPC a unique AI-generated voice. Generate scene illustrations and character portraits mid-session without leaving the table.

Scenes & Canvas

Build maps on the fly. Place tokens, draw walls, set lighting and weather, configure regions, control the entire canvas through natural language.

Audio & Atmosphere

Manage playlists, trigger sound effects, crossfade tracks. Set the mood without alt-tabbing to Foundry's sidebar.

Knowledge & Memory

Campaign journal, session summaries, and a searchable knowledge base the AI can reference. It remembers what happened three sessions ago.

Characters & Items

Create, update, and inspect actors, inventory, spells, features, and active effects. Bulk operations across the whole party.

All 24 Domains

Domain Tools What it does
Characters & Actors 14 Create, inspect, update, and manage player characters and NPCs
Combat & Initiative 13 Start encounters, roll initiative, advance turns and rounds
Scenes & Tokens 19 Build scenes, place and move tokens, configure vision and movement
Canvas Environment 18 Walls, lights, weather effects, fog of war, darkness levels
Audio & Playlists 14 Play, stop, and crossfade music and ambient sound
Journals & Notes 10 Create and edit journal entries, map pins, and handouts
Card Decks 9 Draw, deal, shuffle, pass, and manage card hands and decks
Canvas Drawing 8 Draw shapes, text, and freehand annotations on the canvas
Rollable Tables 7 Create tables and roll on them for random encounters or loot
Macros 7 Create, edit, and execute Foundry macros
World & System 6 World info, system settings, time, pause, and user management
Combat AI 6 NPC tactical decisions, target selection, ability usage, positioning
Items 6 Create, update, delete, and search world-level items
Active Effects 5 Apply, remove, and toggle buffs, debuffs, and status effects
Folders 5 Organize documents into folder hierarchies
Regions 5 Define map regions with triggered behaviors
Ember Events 5 Custom event system for module-to-module hooks
Knowledge & Memory 5 Campaign knowledge base, session memory, context retrieval
Compendium & Rules 4 Search and import from compendium packs and rule references
Voice Generation 4 Generate NPC speech audio with distinct AI voices
Chat Messages 2 Send and read chat messages in the Foundry sidebar
Dice 1 Roll any dice expression with full Foundry roll parsing
Image Generation 1 Generate scene art or character portraits on demand
Scene Generator 1 Generate complete scenes from text blueprints

Connect your AI

There are two ways to connect an AI to your game. Both give the AI the same tools, the difference is where the AI runs and how you pay.

Option 1: Built-in chat (API key)

No server. No terminal. No config files. Just install the module, pick a provider, paste an API key, and start talking to your game.

Familiar connects directly to 28 AI providers across four categories:

Category Providers
Chat (16) OpenRouter, Anthropic, OpenAI, Google, Groq, Mistral, Together AI, DeepSeek, xAI, Cohere, Perplexity, Fireworks AI, Cerebras, SambaNova, Ollama (local), LM Studio (local)
Voice (4) ElevenLabs, Cartesia, OpenAI TTS, PlayHT
Image (5) OpenAI (GPT Image), Stability AI, fal.ai, Leonardo AI, Replicate
Transcription (3) Gladia, Deepgram, AssemblyAI

This is the right choice if you want the simplest setup, or if you want voice, images, and transcription alongside chat. It is also the only option that supports local models (Ollama, LM Studio) for fully offline play.

Option 2: MCP (your existing subscription)

Already paying for Claude, ChatGPT, or Gemini? Connect them directly to Familiar through the Model Context Protocol. Your subscription becomes a DM assistant at no extra API cost.

Familiar supports four MCP clients out of the box:

Client Transport Setup
Claude Desktop stdio Add to claude_desktop_config.json
Claude Code (CLI) stdio claude mcp add familiar -- npx familiar-vtt
Gemini CLI stdio Add to MCP settings (free with Gemini 3.1 Pro)
ChatGPT Streamable HTTP Remote URL via Cloudflare tunnel

The MCP server ships as an npm package:

npx familiar-vtt

You do not need to configure each client by hand. The module includes a step-by-step MCP Setup Wizard (in Module Settings > Familiar) that detects your connected client and generates the exact config, just copy and paste.

Which should I pick?

I want to... Use
Get started in under a minute Built-in chat with any API key
Use my Claude/ChatGPT/Gemini subscription MCP
Run everything offline Built-in chat with Ollama or LM Studio
Have voice, images, and transcription Built-in chat (MCP is text-only)

Your keys, your cost

Most AI tabletop tools lock you into their ecosystem. They charge per turn, per credit, or per token, and you're stuck with whatever model they picked for you. Run out of credits mid-session? Too bad.

Familiar works differently. You bring your own AI, whether that is an API key you already have or a subscription to Claude, ChatGPT, or Gemini. Familiar never proxies, meters, or marks up your usage. Your API keys go straight from your browser to the provider. With MCP, your existing subscription handles it. There is no middleman, no per-turn limits, and no credits that run out.

For $7/month you get all 175 tools, all 28 providers, voice, images, transcription, and full MCP support. No tiers, no feature gates. Compare that to platforms that charge $20-40/month and still limit how many turns you can take or what models you can use.

Installation

In Foundry VTT, go to Settings > Manage Modules > Install Module and search for Familiar. Enable it in your world under Settings > Manage Modules.

If you want to connect an MCP client (Claude Desktop, Claude Code, Gemini CLI, or ChatGPT), you also need the MCP server:

npx familiar-vtt

The MCP Setup Wizard in Module Settings > Familiar walks you through connecting your client step by step.

Compatibility

Supported
Foundry VTT v13, v14
Game System D&D 5e (2024 rules), full support. Other systems work for general features (chat, journals, scenes, audio) but lack system-specific tools like character sheets and combat automation.

FAQ

How much does Familiar cost?

Familiar is a paid module with a free 1-month trial so you can try everything before you commit. All features are available during the trial, no restrictions.

Does Familiar collect my data?

No. There is no telemetry, no analytics, and no data collection of any kind. Familiar runs entirely inside your local Foundry instance. Your data only leaves your machine when you choose to send a message to an external AI provider. If you use local models through Ollama or LM Studio, nothing ever leaves your network.

Can the AI break my world?

Familiar sanitizes all document updates so the AI cannot change ownership, permissions, or internal IDs. Prototype pollution protection is built in, destructive operations require confirmation, and WebSocket connections use shared-secret authentication. That said, always keep backups of your world, that is good practice regardless.

What is the difference between MCP mode and built-in chat?

Built-in chat runs directly inside Foundry with no server required, it makes API calls straight to your AI provider and is the fastest way to get started. MCP mode connects Familiar to external clients like Claude Desktop, ChatGPT, or Gemini through a local server, which lets you use your existing subscriptions and is more powerful for complex multi-step tasks. Both modes have access to the same 175 tools.

Which AI models work best?

For the best experience: Claude Opus 4.6 or Sonnet 4.6 (Anthropic), GPT-5.4 (OpenAI), Gemini 3.1 Pro (Google), Grok 4 (xAI), Mistral 3 (Mistral), or DeepSeek V3.2 (DeepSeek).

Can I use this for solo play?

Absolutely, solo and small-group play is one of the main use cases. I built Familiar for 1-on-1 D&D campaigns with my wife. The AI can run NPCs, manage encounters, describe scenes, and help with rulings so you can play without a dedicated DM.

Does it work with game systems other than D&D 5e?

Familiar is designed and tested for D&D 5e (2024 rules) on Foundry VTT. Basic features like dice rolling, scene management, and journal editing work with other systems, but system-specific tools (character creation, spell resolution, combat automation) are built around the dnd5e data model and are not officially supported elsewhere.

Will Familiar conflict with my other Foundry modules?

No. Familiar operates through its own namespaced flags and does not monkey-patch or override core Foundry functionality. It works alongside any other module you have installed.

Roadmap

Things I'm actively working toward. No promises on timelines.

Module Integrations

Let the AI control the most popular Foundry modules, automated rolls, visual effects, animations, loot, and more.

Module What Familiar will do with it
Midi-QOL Automated attack rolls, saving throws, and damage application
Sequencer Orchestrate animation sequences and visual storytelling
JB2A (Animated Assets) Trigger spell effects, explosions, and environmental animations
Automated Animations Auto-apply JB2A effects to spells and abilities
Token Magic FX Apply shader effects to tokens and tiles (fire auras, glowing shields)
Dice So Nice Sync 3D dice rolls with AI-triggered actions
Item Piles Create and manage loot drops, merchants, and treasure hoards
Monk's Active Tile Triggers Set up interactive tiles (traps, doors, teleporters) by voice
Tidy 5e Sheets Read and update the enhanced character sheet layout
DFreds Convenient Effects Apply and manage curated status effects and buffs

Ready-to-Play Adventures

Plug-and-play support for the most popular published adventures. Import the adventure, enable Familiar, and the AI already knows the story, NPCs, maps, and encounters.

Adventure Publisher
Ember Foundry VTT
Curse of Strahd Wizards of the Coast
Phandelver and Below: The Shattered Obelisk Wizards of the Coast
Tomb of Annihilation Wizards of the Coast
Waterdeep: Dragon Heist Wizards of the Coast
Storm King's Thunder Wizards of the Coast
Ghosts of Saltmarsh Wizards of the Coast
Descent into Avernus Wizards of the Coast
Rime of the Frostmaiden Wizards of the Coast
Crown of the Oathbreaker Elderbrain

Game System Support

Expanding beyond D&D 5e with full system-specific tools (character sheets, combat automation, spell resolution).

System Status
D&D 5e (2024) Supported
Pathfinder 2e Planned
Call of Cthulhu Planned
Savage Worlds Planned
Warhammer Fantasy Roleplay Planned

Improvements

  • Voice generation: more natural NPC voices, emotion control, multi-voice conversations
  • Image generation: faster scene art, consistent character portraits across sessions, style presets
  • Transcription: improved accuracy, real-time command detection, multi-language support
  • Combat AI: smarter NPC tactics, group coordination, retreat behavior, morale
  • Built-in chat: conversation memory across sessions, campaign knowledge base, auto-summarization
  • MCP: faster tool execution, better multi-step task handling, richer feedback to clients

Bug Fixes & Stability

Active bug triage through the Discord. Foundry version compatibility (v13, v14, and future releases) is always a priority.

Feedback

Familiar's source code is private, but your input matters. If you run into bugs, have feature ideas, or just want to tell me about the weird thing the AI did to your goblin encounter:

License

Familiar is licensed under the PolyForm Shield License 1.0.0. You can use, read, and modify the software freely, but you may not use it to build a competing product. See LICENSE for the full text.

Built for the DM who has more ideas than free time.

May your rolls be high, your prep be low, and your players never notice the AI is helping.