Main features
- Wikilinks with autocompletion, aliases, section links and rename updates
- Backlinks panel with context
- Graph view of connected notes
- Hierarchical tags and a tag explorer
- Note embeds and block anchors
- Daily notes and note templates
- Orphan and placeholder panels
- Queries and saved smart folders
- Link reference definitions so links also work on GitHub
- Command-line tool with an MCP server for AI agents
What Foam does
Foam turns Visual Studio Code into a personal knowledge base. Install the extension, open a folder of Markdown files, and the notes become a linked network: [[wikilinks]] autocomplete as you type, a backlinks panel shows which notes mention the current one, and the Foam: Show Graph command draws the connections. Daily notes, templates, tags, embeds and block anchors cover most of what people use in Obsidian’s core features.
Because everything is a plain file in a folder, Foam leans on what VS Code and Git already do well: search, multiple cursors, Vim keybindings through extensions, version history and diffs. Foam can also write standard Markdown link definitions for every wikilink, so the same notes are navigable on GitHub or in a static site.
Coming from Obsidian
The Foam documentation says an Obsidian vault is usually already a Foam workspace. You open the vault folder in VS Code, and wikilinks, backlinks, the graph and tags should work, while Obsidian can keep using the same folder. The docs are specific about the gaps: no live-preview editing (VS Code shows source and a preview pane side by side), Obsidian plugins do not run, Canvas and Tasks plugin syntax are not supported, callouts render as ordinary quotes, and a few identifier-style links resolve differently. Leave the .obsidian folder alone if you use both.
Queries, publishing and AI tools
Foam queries select notes by tag, link or property, either inline in a note’s preview or saved as YAML files that show up as smart folders in the sidebar. Recipes in the docs cover publishing a workspace to GitHub Pages, Vercel, Netlify or GitLab Pages through static site generators. A separate foam-cli package adds terminal commands and an MCP server that lets AI agents read and traverse the note graph; it is read-only unless you pass a flag that allows writes.
Running Foam
There is no server. Foam is an extension published on the Visual Studio Marketplace and on Open VSX, which VS Code-compatible editors such as VSCodium use. The docs recommend syncing through Git with VS Code’s built-in source control, though any file sync tool works. There is no hosted service.
Foam collects anonymous usage data, such as which commands are used, and says it never sends note content or file names. It follows VS Code’s global telemetry setting, so turning telemetry off in VS Code turns it off in Foam.
Limitations
The README still describes Foam as a work in progress and asks for tolerance of alpha-grade software. It requires VS Code, which is an editor for code first; people who want a dedicated notes interface or WYSIWYG editing will find it less comfortable than Obsidian. There is no mobile app: the project points to third-party apps such as GitJournal, or to cloud editors. Collaboration is whatever Git gives you.
Who it suits
Foam suits developers and technical writers who already live in VS Code and want their notes versioned in Git next to their other work. For a standalone app that also opens Obsidian vaults, see Zettlr or Tolaria; for a self-hosted web version of the same idea, SilverBullet. The Obsidian alternatives page compares them.
License details
MIT. Sends anonymous usage telemetry unless telemetry is turned off in VS Code.
Technical details
Self-hosting needs
- Visual Studio Code
Built with
- TypeScript
GitHub topics
- graph-visualisation
- markdown
- markdown-editor
- note-taking
- notes-app
- personal-knowledge-base
- pkm
- vscode
- zettelkasten
Reviewed by the OpenSourcePicks editors from the project's repository and documentation. Something out of date? Tell us.