Foam is a tool that turns a plain Markdown knowledge base into a queryable graph and a publishable website, working natively inside VS Code. It provides wikilinks, backlinks, block references, embeds, daily notes, templates and a graph visualization for organizing notes stored as local .md files. It also exposes the notes graph to AI agents (via foam-mcp) so tools like Claude Code and Cursor can traverse links, tags and backlinks rather than just search flat text. Foam is open source and MIT licensed, with no cloud service or subscription required.
What it's for
Building a personal knowledge graph from Markdown notesLinking notes with wikilinks and backlinksVisualizing knowledge base as a graphCreating daily journal notes from a templateQuerying notes programmatically via foam-query or CLIGiving AI agents structured access to a knowledge graph via foam-mcpPublishing a knowledge base as a website
Features 15
- Automatic link updates on note rename
- Backlinks showing notes linking to current note
- Block-level references
- Daily notes created from a template
- Embeds/transclusion of note content
- foam-cli for terminal search, inspect and management
- foam-mcp for AI agent graph traversal (MCP-compatible)
- foam-query for programmatic graph queries
- Graph visualization of the knowledge base
- Inline and reference-style footnotes
- Inline tags for organizing notes
- Reusable templates for meetings, projects, people, etc.
- Smart Folders (saved queries as filtered views)
- VS Code native definitions, references, syntax highlighting, peek and diagnostics
- Wikilinks (double-bracket note linking)
At a glance
free tieropen sourceAPI
TypePlugin / add-on
DeploymentInstalled (local)
Fordevelopers, researchers, writers
Integrations
iCloudClaude CodeVS CodeGitDropboxGitHubCursorDiscord
Pricing
Foam is described as free, open source, and MIT-licensed with no subscriptions or vendor lock-in.
FoamFree
No subscriptions, no vendor lock-in, no cloud service.
Similar apps
OpenKnowledgeOpen sourceBeautiful, AI-native markdown editor for humans and agents.PriceFreeTry freeFree planRuns onWeb · macOS +2Features18
DendronOpen sourceKnowledge Management. Redefined.PriceNot statedTry free—Runs on—Features10
NotabaseOpen sourcePowerful and easy-to-use note-taking app for networked thinking.PriceFrom $6.67/moTry freeFree planRuns onWebFeatures15
NoterivOpen sourceYour notes deserve a beautiful home — markdown-first, open source, endlessly extensible.PriceFreeTry freeFree planRuns onWindows · macOS +3Features18
NoteDiscoveryOpen sourceYour Self-Hosted Knowledge BasePriceFreeTry freeFree planRuns onWeb · Windows +2Features20
NoteLoomSelf-hostableLocal-first Markdown editor in your browserPriceFreeTry freeFree planRuns onWebFeatures18