grafeo-mcp
Officialgrafeo-mcp exposes an embedded Grafeo graph database to AI agents for querying, modifying, searching, and analyzing graph data over MCP.
Run GQL/Cypher-style queries and read/write with parameters, limits, and write counters.
Inspect graph structure via graph_info, graph://schema, graph://stats, and node resource templates.
Perform graph CRUD: create/update/delete nodes and edges, retrieve nodes, list by label, and explore neighbors.
Bulk import nodes and edges atomically with batch references.
Read historical state with time-travel tools such as query_as_of and get_node_as_of when history retention is enabled.
Full-text search with BM25 indexes, vector k-NN search, MMR diversified search, and hybrid vector+graph search.
Graph analytics: PageRank, Dijkstra shortest paths, Louvain communities, betweenness centrality, and connected components.
Use workflow prompts for exploration, knowledge extraction, graph analysis, and similarity search.
Operate embedded/in-memory or file-backed, with read-only mode and HTTP transport.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@grafeo-mcp find all Person nodes with name 'Alice'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP server that exposes GrafeoDB, an embedded graph database, to AI agents via the Model Context Protocol.
One install, zero infrastructure. The MCP server is the database.
grafeo-mcp is one of Grafeo's AI integrations; grafeo.ai is their front page.
Features
25 tools: graph CRUD, GQL queries, time-travel reads, batch import, full-text search, vector search, MMR, hybrid retrieval, PageRank, Dijkstra, Louvain and more
2 resources and 1 resource template:
graph://schemaandgraph://stats, andgraph://nodes/{node_id}for any node4 workflow prompts: guide agents through exploration, knowledge extraction, graph analysis and similarity search
GQL with Cypher-style syntax:
CREATE,MERGEandOPTIONAL MATCHrun as written, with query parameters and write countersSchema-first: the server's instructions tell agents to read the graph structure with
graph_infobefore queryingToken-aware: the 25 tools list in about 15 KB, results are compact JSON sent once, all tools have
limitparams, and large results are cut down to valid JSONAgent-friendly errors: every failure is one
Error: <tool>: ...message, flaggedisErrorover MCP, with a hint naming the next step where the message alone does notEmbedded: no separate database server to manage
Related MCP server: M.I.M.I.R - Multi-agent Intelligent Memory & Insight Repository
Quickstart
# Install
uv tool install grafeo-mcp
# Or run it without installing
uvx grafeo-mcpgrafeo-mcp 0.3 needs Python 3.12 or later and grafeo 0.6, which installs with it. Coming from grafeo-mcp 0.2: your database is migrated to the grafeo 0.6 format on the first start, see Upgrading from grafeo-mcp 0.2.
Set GRAFEO_DB_PATH to keep your data: without it the database lives in memory and is gone when the client stops the server. grafeo-mcp --version prints the grafeo-mcp and grafeo versions, grafeo-mcp --help the options.
The configurations below assume uv tool install grafeo-mcp. A client that does not see your shell's PATH (Claude Desktop often does not) may not find grafeo-mcp; use "command": "uvx", "args": ["grafeo-mcp"] instead, or the full path that uv tool dir --bin shows.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"grafeo": {
"command": "grafeo-mcp",
"env": {
"GRAFEO_DB_PATH": "/path/to/your/graph.grafeo"
}
}
}
}Claude Code
claude mcp add grafeo --scope project -e GRAFEO_DB_PATH=./graph.grafeo -- grafeo-mcpor add to .mcp.json in your project root:
{
"mcpServers": {
"grafeo": {
"command": "grafeo-mcp",
"env": {
"GRAFEO_DB_PATH": "./graph.grafeo"
}
}
}
}VS Code / Copilot
Add to .vscode/mcp.json:
{
"servers": {
"grafeo": {
"command": "grafeo-mcp",
"env": {
"GRAFEO_DB_PATH": "${workspaceFolder}/graph.grafeo"
}
}
}
}HTTP transport
For clients that connect to a running server instead of starting one:
grafeo-mcp streamable-http # http://127.0.0.1:8000/mcp
grafeo-mcp streamable-http --port 9000 # another port
grafeo-mcp streamable-http --host 0.0.0.0 # listen on every interfacePoint the client at http://<host>:<port>/mcp. All clients share one database. The server has no authentication: on any address other than 127.0.0.1, localhost or ::1 anyone who reaches the port can read and change the database, and the server logs a warning saying so. Put it behind a proxy that authenticates, or set GRAFEO_READ_ONLY=1. The legacy sse transport takes the same options.
Try it with the demo dataset
The Silicon Valley dataset from grafeo.ai holds Pied Piper's world: 64 nodes (people, companies, products, AIs) and 149 edges, with a MiniLM embedding (384 dimensions) and a cosine vector index for every label. Load it into a file:
uv run --with "grafeo-datasets[grafeo]" python -c "import grafeo; from grafeo_datasets import silicon_valley; db = grafeo.GrafeoDB('pied-piper.grafeo'); silicon_valley.load(db, vectors=True); db.close()"Point the server at it, for example in Claude Code:
claude mcp add pied-piper -e GRAFEO_DB_PATH=./pied-piper.grafeo -- grafeo-mcpThen ask. These are the calls an agent makes (node IDs as in a fresh load):
Ask | Call | Answer |
How is Son of Anton related to Anton? |
| Bertram Gilfoyle built both |
Does Jian-Yang's fridge talk? |
|
|
Who invested in Pied Piper? |
| Erlich Bachman, Peter Gregory, Russ Hanneman (Series A), Raviga Capital |
How does Son of Anton fix bugs? |
| "delete the code", and it once ordered 4000 lb of meat |
How many commas does Russ have? |
| 3, and ROI stands for "Radio on internet" |
What is most like Jian-Yang's fridge? |
| Anton (distance 0.574), Fiona (0.760) |
Who is the most central person? |
| Richard Hendricks |
How is Richard connected to Son of Anton? |
| Richard Hendricks, Bertram Gilfoyle, Son of Anton |
Jack Barker takes over Hooli |
|
|
like_node_id searches near a node's stored vector, so an agent without its own embedding model can still ask what is alike. When a query misses, the result says why: MATCH (a:Ai) RETURN a.name returns "hint": "Not in the graph: label :Ai (did you mean :AI?).", and the Cypher form WHERE (p)-[:BUILT]->(:AI) gets a hint to write WHERE EXISTS { (p)-[:BUILT]->(:AI) }. Add GRAFEO_READ_ONLY=1 to explore without changing the file.
Environment Variables
Variable | Description | Default |
| Path to the database file (such as | In-memory (lost when the server stops) |
|
| Off |
| How far back the database keeps history for | The stored setting ( |
A database file stores its history retention, so the setting stays in effect on later starts without the variable. A read-only server keeps the setting stored in the existing database.
Read-only mode
With GRAFEO_READ_ONLY=1 the mutation tools stay visible but return an error, and execute_gql refuses queries with INSERT, CREATE, MERGE, SET, REMOVE, DELETE, DROP or ALTER and runs the rest in a transaction that is always rolled back. When GRAFEO_DB_PATH names an existing database, the server also opens it with grafeo's read-only mode: the engine itself rejects writes, several read-only servers can share the file while no process has it open for writing, and a grafeo 0.5.x database is read without migrating it.
Storage and upgrading
One file per database. With grafeo 0.6 a database is always a single file at
GRAFEO_DB_PATH, whatever its name (.grafeois the convention). While the server runs, the write-ahead log lives next to it in<path>.wal/; a clean shutdown folds it into the file. A path that names an existing directory stops the server with an error, unless the directory is a grafeo 0.5.x database (see below): name a file inside it instead, such asgraph.grafeo.One writer at a time. A database open for writing is locked: no other process can open it, not even read-only (
GRAFEO-S004 Database locked). Run one grafeo-mcp server per database. SeveralGRAFEO_READ_ONLY=1servers can share a file, but only while no process has it open for writing.Backups. Stop the server (or every process that has the database open for writing), then copy the database file. Keep the copy somewhere else than
<path>.pre-0.6, which the migration below uses.Pinning. Until grafeo 1.0 a minor release may change the file format or the API, so grafeo-mcp pins the grafeo minor version it is tested with (currently
grafeo>=0.6.2,<0.7). A weekly CI job runs the test suite against the newest grafeo in that range.
Upgrading from grafeo-mcp 0.2 (grafeo 0.5)
grafeo-mcp 0.3 runs on grafeo 0.6, which writes a new file format. The first read-write open of a grafeo 0.5.x database migrates it in place:
Stop every process that uses the database: grafeo-mcp 0.2 servers and any script on grafeo 0.5.x.
Back it up (the file, or the whole directory for a WAL-directory database such as
graph.db/), and make sure there is free disk space for one more copy of the database.Upgrade:
uv tool upgrade grafeo-mcp(oruvx grafeo-mcp@latest).Start the server once without
GRAFEO_READ_ONLY. It migrates the database and logs a warning naming the copy of the original it keeps:a
.grafeofile stays at its path in the new format; the original is kept, unchanged, asgraph.grafeo.pre-0.6(with a WAL that still held changes asgraph.grafeo.pre-0.6.wal);a WAL directory (0.5.x made one for a path without the
.grafeoextension, such asgraph.db) becomes a single file at the same path, and the directory is kept asgraph.db.pre-0.6/. grafeo 0.5.x reopened such a database without its vector, text and property indexes; create them again withcreate_vector_indexandcreate_text_index.
Check the data (
graph_info), then delete the.pre-0.6copy when you no longer need a way back.
After the migration grafeo 0.5.x can no longer open the database. To go back, restore the .pre-0.6 copy and run grafeo-mcp 0.2 with grafeo 0.5 pinned: grafeo-mcp 0.2 alone installs grafeo 0.6, which would migrate the copy again.
uvx --from grafeo-mcp==0.2.0 --with "grafeo<0.6" grafeo-mcpA read-only server reads a 0.5.x database without migrating it. grafeo 0.7 will not read 0.5.x databases, so open each one read-write with grafeo 0.6 before moving on.
What else changed with grafeo 0.6
Exact decimals. In GQL a number with a point (
1.5,0.1) is an exact decimal:0.1 + 0.2is0.3, and1.50keeps its two digits. Tools return decimals as JSON numbers with their exact digits. Write1.5e0ortoFloat(x)for a float.Numeric errors. Integer or decimal overflow and division by zero fail the query instead of returning null.
Sorting. GQL
ORDER BYputs nulls last, ascending and descending (NULLS FIRSTchanges it).Writes and filters. A
WHEREorFILTERright afterINSERT,CREATE,MERGEorDELETEis an error: filter before the write, or withWITH ... WHEREafter it.Limits. A statement may nest 64 levels deep and a property value 128 levels.
Engine messages. Error messages from grafeo start with its error code (
GRAFEO-V001: ...) and some are worded differently; tools pass them on unchanged afterError: <tool>:.dijkstraweights.dijkstrareads exact decimal weights; a non-number, NaN, infinite or negative weight is an error.
Tools
Query
Tool | Description |
| Run one GQL query, with parameters and write counters |
Time travel
Both tools read the committed state at as_of: seconds ago ("300") or an ISO-8601 datetime with its offset ("2026-11-09T10:00:00+00:00"). They need history, so start the server with GRAFEO_HISTORY_RETENTION=forever (or a number of seconds). Both work in read-only mode.
Tool | Description |
| Run one read-only GQL query as the database was at |
| A node's labels and properties as they were at |
Graph CRUD & Traversal
Tool | Description |
| Create a node with labels and properties |
| Create a directed edge between two nodes |
| Retrieve a node by ID |
| Update properties on an existing node |
| Delete a node and its edges (detach defaults to true) |
| Update properties on an existing edge |
| Delete an edge by ID |
| Explore a node's neighborhood (1-hop) |
| Find nodes by label with pagination |
| Counts, labels, edge types, indexes |
Batch Import
Tool | Description |
| Bulk-create nodes and edges from JSON arrays |
Full-Text Search
Tool | Description |
| Create a full-text search index on a property |
| Keyword search over indexed string properties |
Vector Search
Tool | Description |
| k-NN similarity search (HNSW), from a query vector or a node ( |
| Diversity-aware search (Maximal Marginal Relevance) |
| Create HNSW index on a label + property |
| Hybrid: vector search + graph neighborhood expansion |
Graph Algorithms
Tool | Description |
| Rank nodes by importance; |
| Shortest weighted path; ignores edge direction unless |
| Community detection (Louvain modularity) |
| Find bridge/bottleneck nodes; |
| Find disconnected subgraphs |
Resources
Clients list two resources and one resource template:
URI | Kind | Description |
| resource | Labels with sample values, edge type patterns, indexes |
| resource | Counts, memory and disk sizes, configuration |
| template | One node's details and a summary of its connections |
Prompts
Prompt | Description |
| Guided exploration of the graph structure |
| Extract entities and relationships from text |
| Structural analysis: communities, PageRank, hubs |
| Vector-powered semantic search with graph context |
Which tool when?
I want to... | Use this tool | Not this |
Add a single node |
|
|
Add a single edge |
|
|
Load many nodes and edges at once |
|
|
Look up a node by ID |
|
|
Create or update a node by a key |
|
|
Update a node's properties |
|
|
Delete a node |
|
|
Update an edge's properties |
|
|
Delete an edge |
|
|
Browse nodes of a type |
|
|
Explore one hop from a node |
|
|
Run a complex or multi-hop query |
| multiple |
See what the graph held earlier |
|
|
Read a node as it was earlier |
|
|
Search by keyword in text |
|
|
Find similar nodes by embedding |
|
|
Find nodes like one you already have |
|
|
Find similar nodes + graph context |
|
|
Find the most important nodes |
|
|
Find shortest path between two nodes |
|
|
Detect communities |
|
|
Understand the graph before querying |
|
|
Batch reference syntax
The batch_import tool lets edges reference nodes created in the same batch using @N notation, where N is the zero-based index into the nodes array:
batch_import(
nodes=[
{"labels": ["Person"], "properties": {"name": "Dinesh Chugtai"}}, # @0
{"labels": ["Person"], "properties": {"name": "Bertram Gilfoyle"}}, # @1
],
edges=[
{"source_ref": "@0", "target_ref": "@1", "edge_type": "RIVAL_OF"},
{"source_ref": "@1", "target_ref": "@0", "edge_type": "RIVAL_OF"}, # the rivalry runs both ways
],
)You can also mix batch references with existing node IDs: {"source_ref": "@0", "target_ref": 42, ...}.
A batch is all or nothing: it is checked completely before anything is written (labels, edge types, @N references, and that referenced node IDs exist), and if the engine rejects a node or edge partway (for example a UNIQUE constraint), everything the call created is removed again.
Queries
execute_gql passes the query text to grafeo's GQL engine unchanged. The engine also accepts common Cypher syntax such as CREATE, MERGE, OPTIONAL MATCH and DETACH DELETE, so agents trained on Cypher work out of the box.
One statement per call. Text with several statements separated by
;is refused before it runs (a trailing;is fine). Chain clauses instead (INSERT ... INSERT ...,MATCH ... INSERT ...) or send separate calls.Parameters. Pass values in
paramsand reference them as$name, e.g. queryMERGE (p:Person {name: $name}) SET p += $props RETURN id(p)withparams={"name": "Jared Dunn", "props": {"born_as": "Donald Dunn"}}. A parameter the query uses butparamslacks is reported by name.Write counters. Results of writing queries include
counters(nodes, edges, properties and labels created, deleted, set or removed), and engine warnings come back aswarnings.Path patterns in WHERE. GQL tests a path with
EXISTS:WHERE p.age > 30 AND EXISTS { (p)-[:WORKS_AT]->(:Company) }, or the pattern goes intoMATCH. The Cypher formWHERE (p)-[:WORKS_AT]->(...)is a syntax error, and its hint says so.Deleting edges.
DELETEtakes variables:MATCH (b)-[w:WORKS_AT]->(c) DELETE w. A pattern afterDELETEis a syntax error whose hint shows this form.Names that do not exist. A reading query that finds no rows, or returns a column that is null in every row, gets a
hintnaming the labels, edge types or properties it uses that are not in the graph, with the closest existing name:Not in the graph: label :Persn (did you mean :Person?).A query whose names all exist gets no hint, and a query that works costs no extra lookup.Embeddings. Store vectors through a parameter (
INSERT (:Doc {emb: $emb})) orvector([...]): grafeo stores a plain list literal as a list, which vector indexes skip.create_node,batch_importandupdate_nodestore lists of floats as vectors.Numbers. A number with a point is an exact decimal and comes back as a JSON number with its digits (
1.50); write1.5e0for a float. Overflow and division by zero fail the query, andORDER BYputs nulls last. See What else changed with grafeo 0.6.
Schema overview
graph_info is the first call of a session, so it is kept small:
{"nodes": 5, "edges": 5,
"labels": [{"name": "Person", "count": 3, "properties": {"age": "INT64", "name": "STRING"}}],
"edge_types": [{"name": "WORKS_AT", "count": 3, "properties": {"since": "INT64"}, "endpoints": ["Person->Company"]}],
"indexes": {"vector": [{"label": "Doc", "property": "emb", "items": 2}], "text": [], "property": []},
"database": {"path": "graph.grafeo", "read_only": false},
"engine": "grafeo 0.6.3"}A property seen with several types lists them as "INT64|STRING". The graph://schema resource adds sample values, and graph://stats memory and disk sizes.
Errors
Every tool returns a string. A failure is a single message of the form Error: <tool>: <what went wrong>. Hint: <what to try next>, with the engine's own message included unchanged; over MCP it is returned with isError: true. Arguments of the wrong type and unknown tool names get the same form. The hint is left out where the message already says the fix, as in Error: execute_gql: limit must be at least 1, got -1.; for a failed query it depends on the engine's code: syntax (GRAFEO-Q001), names and types (GRAFEO-Q002) or a value at run time (GRAFEO-Q006, such as division by zero). Successful results are JSON, except the confirmation sentences of delete_node, delete_edge, create_vector_index and create_text_index.
Output size
Results that would exceed about 8,000 characters are cut down to valid JSON: entries are dropped from the end of the largest lists, long strings end with ... [N chars], and the result gets truncated: true, an omitted map (path to number of entries dropped) and a note. A tool that normally returns a JSON array (vector_search, mmr_search, search_text) then returns {"results": [...], "truncated": true, ...}. Embeddings (lists of more than 32 numbers) show as <vector: 384 dims> wherever a node or edge appears; a query that returns the property itself (RETURN n.embedding) gets the numbers. execute_gql is bounded by its limit instead.
Development
git clone https://github.com/GrafeoDB/grafeo-mcp
cd grafeo-mcp
uv sync
uv run pytest # Run tests
uv run ruff check . # Lint
uv run ruff format . # Format
uv run ty check # Type checktests/test_grafeo_contract.py pins every grafeo behavior the tools rely on, so a grafeo release that changes one fails with a message naming it. To try the newest grafeo release (pre-releases included):
uv sync --upgrade-package grafeo --prerelease allow
uv run --no-sync pytestSee Also
grafeo-memory includes a built-in MCP server (
grafeo-memory-mcp) that wraps the high-level memory API: extract, reconcile, search, summarize. If you need AI memory management rather than raw graph access, useuv add "grafeo-memory[mcp]".
License
Apache-2.0
Available Tools
25 toolsbatch_importA
Create many nodes and edges in one call, all or nothing.
The whole batch is checked before anything is written, and undone if the engine rejects part of it. Returns created_nodes, created_edges and node_id_map (batch index to node ID).
Inputs: nodes (required), edges.
betweenness_centralityBRead-only
Rank nodes by betweenness: how often they lie on shortest paths between others (bridges, bottlenecks).
Inputs: label, top_k, normalized.
connected_componentsARead-only
Group nodes into connected components, ignoring edge direction.
Returns num_components and components ({component id: [node IDs]}).
Inputs: no named parameters.
create_edgeA
Create one directed edge from source_id to target_id (both must exist) and return it with its id.
Inputs: edge_type (required), source_id (required), target_id (required), properties.
create_nodeA
Create one node and return it with its id.
For many nodes use batch_import; to create only when missing, execute_gql with MERGE. A list of numbers is stored as a vector, so vector indexes pick it up.
Inputs: labels (required), properties.
create_text_indexAIdempotent
Create a full-text (BM25) index on a string property, for search_text. Existing and later nodes are indexed.
Inputs: label (required), property (required).
create_vector_indexAIdempotent
Create an HNSW vector index on a label and property, for vector_search, mmr_search and vector_graph_search.
Existing and later vectors are indexed; a list literal in execute_gql text is stored as a list, not a vector.
Inputs: label (required), property (required), m, metric, +2 more.
delete_edgeADestructiveIdempotent
Delete one edge. Edge IDs come from get_neighbors (edge_id) or execute_gql (RETURN id(r) AS id).
Inputs: edge_id (required).
delete_nodeBDestructiveIdempotent
Delete one node, and with detach its edges, in one step.
Inputs: node_id (required), detach.
dijkstraARead-only
Shortest weighted path from source_id to target_id. Returns distance, hop_count and the path's nodes.
By default edges count in either direction, as "how are A and C connected" means; pass direction="outgoing" to follow edges only from source to target (a dependency or a flow).
Inputs: source_id (required), target_id (required), direction, weight_property.
execute_gqlADestructive
Run one GQL statement: multi-hop patterns, filters, aggregations, MERGE upserts, label changes.
Cypher syntax (CREATE, MERGE, OPTIONAL MATCH, DETACH DELETE) runs as written. Rules:
One statement per call; chain clauses instead (MATCH ... INSERT ...).
Put values in params as $name, not in the text. Embeddings too: a list literal is stored as a list, which vector indexes skip.
1.5 is an exact decimal (0.1 + 0.2 = 0.3); 1.5e0 is a float. Overflow and division by zero fail.
No WHERE right after INSERT, CREATE, MERGE or DELETE: filter before the write, or WITH ... WHERE after it.
A path pattern in WHERE needs EXISTS: WHERE EXISTS { (p)-[:WORKS_AT]->(:Company) }, not WHERE (p)-->(..).
DELETE takes variables: MATCH (b)-[w:WORKS_AT]->(c) DELETE w, not DELETE (b)-[:WORKS_AT]->(c).
ORDER BY puts nulls last.
Returns {columns, rows, total_rows}; a node in a row is a map with _id, _labels and its properties, an edge has _id, _type, _source, _target. Writes add counters. A read that finds nothing, or only nulls, gets a hint naming the labels, edge types or properties that do not exist.
Example: MERGE (p:Person {name: $name}) SET p += $props RETURN id(p) AS id with params={"name": "Ada", "props": {"born": 1815}}
Inputs: query (required), limit, params.
get_neighborsARead-only
List the nodes one hop from node_id, each with the edge that links it (edge_id, edge_type).
For longer paths use execute_gql.
Inputs: node_id (required), limit, direction, edge_type.
get_nodeARead-only
Get one node by ID: its labels and properties. Find IDs with search_nodes_by_label or execute_gql.
Inputs: node_id (required).
get_node_as_ofARead-only
Get a node's labels and properties as they were at as_of (time travel).
Needs a server that keeps history (GRAFEO_HISTORY_RETENTION).
Inputs: as_of (required), node_id (required).
graph_infoARead-only
Overview of the graph; call it before querying.
Returns node and edge counts; each label and edge type with its count and property types (and for edges the label pairs they connect); the vector, text and property indexes; and the database path (null in memory), whether writes are disabled, and the engine version.
Inputs: no named parameters.
louvainBRead-only
Find communities (Louvain): groups of densely linked nodes, numbered from 0 by their smallest node ID.
Inputs: resolution.
mmr_searchARead-only
Like vector_search, but diverse: Maximal Marginal Relevance skips near-duplicates (good RAG context).
Results come in selection order.
Inputs: label (required), property (required), k, ef, +4 more.
pagerankBRead-only
Rank nodes by PageRank: how many links point at them, and from how important nodes. Returns the top_k.
For "the most important person", pass label="Person".
Inputs: label, top_k, damping, tolerance, +1 more.
query_as_ofARead-only
Run one reading GQL statement against the graph as it was at as_of (time travel).
Needs a server that keeps history (GRAFEO_HISTORY_RETENTION). Same rules and result as execute_gql. Example: query_as_of("MATCH (p:Person) RETURN p.name, p.age", "3600")
Inputs: as_of (required), query (required), limit, params.
search_nodes_by_labelARead-only
List the nodes that have one label, with their properties, a page at a time. Filter with execute_gql.
Inputs: label (required), limit, offset.
search_textARead-only
Keyword search (BM25) in a text-indexed property. Returns [{node_id, score, labels, properties}], best first.
Inputs: label (required), query (required), property (required), limit.
update_edgeADestructiveIdempotent
Set properties on an existing edge and return it.
The edge type cannot change: delete the edge and create a new one.
Inputs: edge_id (required), properties (required), merge.
update_nodeBDestructiveIdempotent
Set properties on an existing node and return it.
Labels change with execute_gql (SET n:Label, REMOVE n:Label).
Inputs: node_id (required), properties (required), merge.
vector_graph_searchARead-only
Vector search, then the graph around each hit, in both edge directions.
Returns seeds (as vector_search) and neighbors, each with its hop count and the node it was reached from.
Inputs: label (required), property (required), k, expand_depth, +3 more.
vector_searchARead-only
Find the k nodes nearest to query_vector, or to node like_node_id, in a vector index.
Without an embedding model, use like_node_id ("what is most like this node?"). Nearest first.
Inputs: label (required), property (required), k, ef, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Each tool targets a distinct resource+action: node CRUD, edge CRUD, traversal (get_neighbors, dijkstra), analytics (pagerank, louvain, betweenness_centrality, connected_components), and three clearly separated search modalities (label listing, BM25 text, vector/MMR/graph). The catch-all execute_gql could in principle do many writes, but its description explicitly defers single-node creation, label changes and bulk work to the dedicated tools. The vector trio (vector_search, mmr_search, vector_graph_search) is the only family with real kinship, and their descriptions cleanly separate plain nearest-neighbour, diversity-aware, and neighbourhood-expanding behaviour.
The surface is uniformly snake_case, with the bulk following a verb_noun pattern (create_node, get_neighbors, search_text, delete_edge, query_as_of). Algorithm tools use bare domain names (pagerank, louvain, dijkstra, betweenness_centrality) and a few are noun-first (vector_search, mmr_search, graph_info), which is a minor but readable deviation. No casing or verb-style chaos.
At 25 tools this sits at the heavy end, but the scope genuinely justifies it: CRUD, batch import, two time-travel reads, five graph algorithms, and a full search/index subsystem are all separate capabilities. Everything present is callable rather than decorative, though a lighter server might fold the index-creation tools or some algorithm variants behind parameters.
Node and edge lifecycles are fully covered (create/get/update/delete plus batch import), with time travel for both nodes and ad-hoc queries, index creation, and rich analytics. Minor gaps remain: there is no drop/list-index tool (indexes are only visible via graph_info) and no direct get_edge or edge-listing tool — edge reads go through get_neighbors or execute_gql. Labels and MERGE are handled via execute_gql, so no true dead ends.
Maintenance
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Persistent knowledge graph for AI agents. Remember, recall, and forget facts.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Shared long-term memory for AI agents: save and recall context as a searchable knowledge graph.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceAllows AI models to query and interact with FalkorDB graph databases through the Model Context Protocol (MCP) specification.181 npm42MIT- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with persistent graph database memory using Neo4j, enabling task management, relationship understanding, semantic search with embeddings, file indexing, and multi-agent coordination through the Model Context Protocol.290MIT
- AlicenseAqualityDmaintenanceA self-contained, in-memory graph database for AI Agents. Provides semantic code understanding through the Model Context Protocol (MCP).62MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with TigerGraph databases through the Model Context Protocol, supporting graph operations, schema queries, and GSQL execution via natural language.Apache 2.0