Labsco
Scottnine logo

filamental-mcp

from Scottnine

Search, traverse and edit a Filamental knowledge graph from any MCP-compatible AI client. Local-first, no cloud, no auth required.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

filamental-mcp

A local Model Context Protocol server that connects AI assistants (Claude Desktop, Claude Code, etc.) directly to your Filamental knowledge graph.

The server reads and writes your vault -- searching nodes, following connections, creating and updating content -- while Filamental is running or closed. It talks to the same SQLite index the app uses, so changes are immediately visible when you open Filamental.

Requires Node.js 22+ and Filamental desktop app.


Tools

Read

ToolDescription
get_vault_infoNode and edge counts plus entity and connector type names
list_node_typesFull entity type configuration for this vault
list_connector_typesFull connector type configuration for this vault
search_nodesFull-text search across node names, note bodies and property values
get_nodeFull node record by UUID
get_connectionsAll edges connected to a node, with source and target names resolved
get_subgraphBFS traversal from a root node up to N hops (max depth 3)

Write

ToolDescription
create_nodeCreate a new node -- writes a markdown file and updates the SQLite index
update_nodeUpdate an existing node; omitted fields are unchanged
delete_nodeDelete a node and remove it from the index
create_edgeAdd a relationship between two nodes
delete_edgeRemove a relationship between two nodes

CLI options

Copy & paste β€” that's it
filamental-mcp --vault <path>          Use vault at <path>
filamental-mcp --vault <path> --db <path>   Override the SQLite database path (for testing)

How it works

Filamental stores all node data as Markdown files with YAML frontmatter inside your vault folder. It also maintains a SQLite index (stored in your OS app-config directory, not inside the vault) for fast full-text search and graph traversal.

This server opens that SQLite index read-write. Read tools query it directly. Write tools update both the Markdown file on disk and the SQLite index so the Filamental app sees changes immediately on next load.


License

MIT β€” Copyright Blackcat Marketing LLC