An MCP server for your graph
Give an assistant your nodes and relationships in a format it can query. Loom turns a graph file into six read-only tools for searching, following links and tracing paths.

graph.json → MCPBring your graph
Preview a real MCP query here. To use the same graph in an assistant, copy its setup command and run it with Node.js 22.14 or later.
Choose your graph
Choose a JSON file with nodes and links, or a Studio export. The file stays in this tab.
Connect an assistant
Enter the full path to your JSON file on the machine that will run the server.
Download the server packageBuilding a graph in Loom Studio? Choose Export graph → Graph MCP to save the file. File format and server guide
Connect over HTTP
See what a teammate experiences when you share an MCP endpoint. Loom’s public example grants guest access to a sample graph and returns a cited connection.
Try the live OAuth demo ↗To host your file, choose Streamable HTTP in graph setup and enter your endpoint and OAuth issuer. These recordings show sign-in with Keycloak and oidc-provider.
The client sends its first request to Graph MCP.
Add an MCP server
- Name
- Loom Graph MCP
- Transport
- Streamable HTTP
- Server URL
- http://127.0.0.1:7341/mcp
Run a provider locally
From a Loom checkout with Docker running, start the graph server and a temporary Keycloak realm.
task setup
task mcp:demoSign in as reader with password loom-demo. Ctrl+C stops the demo. Open local walkthrough ↗
After the source passage appears, choose Open graph browser to explore another graph through the same connection.
Install Loom Graph
Install the marketplace plugin to try the same tools on four offline example graphs. To connect your own file, use graph setup.

Loom Graph
Wikispeedia, the knowledge console, Bauhaus and the outer solar system.
- Release
- v0.4.0
- Transport
- Local stdio
With Node.js 22.14 or later installed, run these commands in your terminal. Codex fetches Loom Graph from GitHub and starts the graph server locally.
codex plugin marketplace add castlemilk/loom
codex plugin add loom-graph@loomFor an offline install, extract the ZIP and use ./loom-marketplace in place of castlemilk/loom in the first command. Download Loom marketplace
Try asking “How does Music connect to Sound in Wikispeedia? Show me the source.”
Explore the Bauhaus graph
Search 15 Wikipedia articles, then follow one of their 52 links. This browser example uses the same graph index and neighbor query as the MCP server.
Anni Albers
German-American textile artist (1899–1994)
Wikipedia source ↗View the tool response get_neighbors
{
"items": [
{
"node": {
"id": "Josef_Albers",
"label": "Josef Albers",
"kind": "designer",
"section": "Designers",
"uri": "loom://graphs/node?graph=bauhaus&id=Josef_Albers"
},
"linkCount": 1
},
{
"node": {
"id": "Bauhaus",
"label": "Bauhaus",
"kind": "school",
"section": "Schools",
"uri": "loom://graphs/node?graph=bauhaus&id=Bauhaus"
},
"linkCount": 1
},
{
"node": {
"id": "Walter_Gropius",
"label": "Walter Gropius",
"kind": "designer",
"section": "Designers",
"uri": "loom://graphs/node?graph=bauhaus&id=Walter_Gropius"
},
"linkCount": 1
},
{
"node": {
"id": "Black_Mountain_College",
"label": "Black Mountain College",
"kind": "school",
"section": "Schools",
"uri": "loom://graphs/node?graph=bauhaus&id=Black_Mountain_College"
},
"linkCount": 1
}
],
"total": 4,
"nextOffset": null,
"direction": "outgoing"
}English Wikipedia contributors · CC BY-SA 4.0 · Open this graph in Studio ↗
Available queries
list_graphs- Discover graph IDs, sizes and attribution.
search_nodes- Find nodes by name, ID, section or subject.
get_node- Read the original fields and count incoming and outgoing links.
get_neighbors- Page through the articles around a node in either direction.
get_connection- Read the original relationship fields between two nodes, including parallel links and any supplied evidence.
find_path- Trace a shortest directed path within a chosen number of hops.
Clients can also read loom://graphs/catalog and the node resource URI returned by each search. Read the MCP guide as Markdown.
Already have nodes and links in your application? Use the JavaScript API to serve your graph directly.
To build an editing agent, use the SDK’s graph editing guide.