Graph Explorer
v0.1.1Query graph databases with Cypher over BOLT and see the answer as an interactive graph (MCP Apps)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_schema Get graph schema
Labels, relationship types and properties with example values of the neo4j graph database, based on a sample. Call this before writing Cypher for an unfamiliar database.
query_cypher Query graph
Run a read-only Cypher query and get the data back. Nothing is shown to the user. Use it for all exploring and checking. When you have the answer, show it with show_result.
| Parameter | Type | Description |
|---|---|---|
query * | string | Cypher to run |
params | object | Query parameters |
show_result Show result
Show the final answer to the user in the graph view. Call it exactly once for each question that is answered from the database, also when the answer is a single value or a table. Every call opens a new view, so do not use it to explore or to test a query: do that with query_cypher first. Visualization contract: return nodes, relationships or paths (RETURN p) instead of property projections; put scalar values in their own columns. If answer_query returns no nodes (aggregates, projections), also pass context_query returning the relevant subgraph.
| Parameter | Type | Description |
|---|---|---|
answer_query * | string | Cypher that answers the question |
connect | Fetch relationships between the returned nodes. Default 'auto': only if the result has none. | |
context_query | string | Read-only Cypher returning a subgraph to show next to the answer |
params | object | Query parameters used by both queries |
select_node
Remember which node is selected in the graph view
| Parameter | Type | Description |
|---|---|---|
nodeId * | string | null |
expand_node
Neighbors of a node, for the graph view
| Parameter | Type | Description |
|---|---|---|
nodeId * | string |
run_view_query
Run a query the user edited in the graph view
| Parameter | Type | Description |
|---|---|---|
answer_query * | string | Cypher that answers the question |
connect | Fetch relationships between the returned nodes. Default 'auto': only if the result has none. | |
context_query | string | Read-only Cypher returning a subgraph to show next to the answer |
params | object | Query parameters used by both queries |
reset_view_query
Forget the query the user ran in the graph view
get_view_query Read the user's query
Returns the Cypher the user last ran themselves in the graph view's editor, with a summary of its result. Call this whenever the user refers to their own query or to what the panel shows now, since they may have changed it.
get_selection Read selected node
Returns the node the user last clicked in the graph view, with its properties and neighbors. Call this whenever the user refers to something in the graph without naming it, e.g. "this", "that station", "here", "the selected node", "den här", "härifrån", "den markerade".