
Graphmind
io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Oct 29, 2026
Persistent knowledge graph: entities, relations, and observations for agents.
Overview
Local MCP server that gives an assistant a persistent knowledge graph of entities, typed relations and observations, stored in one JSON file.
- What you can do
- Create entities with a type and plain-text observations, and add typed relations between existing entities
- Append observations to existing entities, skipping duplicates
- Delete entities, observations or relations
- Read the whole graph, or open specific entities by name with the relations between them
- Search entity names, types and observations by case-insensitive substring
- When to use it
- Useful when an assistant should remember facts across sessions without running a database or signing up for a service, and when you want that memory to stay a readable, hand-editable JSON file you can inspect or version.
- Requirements
- Runs locally over stdio via npx or the Docker image; no account, API key or network service needed. The store path comes from the GRAPHMIND_FILE environment variable and defaults to ./graphmind.json in the working directory. With Docker, mount a volume over the working directory to keep the graph between runs.
Installation
In SourceWeft
- Open Graphmind in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
graphmind
graphmind is a small, durable memory for agents: a knowledge graph you can build up a fact at a time and query back later. You record entities — people, places, projects, anything with a name — each with a type and a growing list of plain-text observations, and you connect them with typed relations ("Alice — lives_in → Lisbon"). The whole graph lives in one JSON file on disk, so the memory survives restarts and stays readable, diffable, and editable by hand.
There is no database to run and no service to sign up for. The graph file is the product.
Install
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead. If you run the container, mount a volume over the working directory if you want the graph file to persist between runs.
Where the graph lives
The store file path comes from the GRAPHMIND_FILE environment
variable and defaults to ./graphmind.json in the current working
directory. The file is loaded when the server (or a CLI command)
starts, and it is rewritten after every change, so what is on disk is
always the full current graph:
CLI
The CLI is a read/inspect face over the same store file the MCP server writes:
Exit codes: 0 on success, 1 when the store cannot be read or
written, 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
Tools
Behaviour worth knowing
- Names are identity. An entity is its name; creating a second entity with the same name does nothing. Rename by deleting and recreating.
- Relations need real endpoints.
create_relationsrequires both thefromandtoentities to already exist, and fails the whole call if one is missing — no stub entities are invented, so a typo surfaces immediately instead of quietly corrupting the graph. - Observations are a set, in order. Adding a string an entity already carries is a no-op; new strings append in the order given.
- Deletes cascade only from entities. Deleting an entity removes its relations; deleting observations or relations never touches anything else.
Development
License
MIT — see LICENSE.
Source: README.md at commit f676d42
Tools
0Version history
1- v0.1.0LatestOct 29, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts