Skip to content
ammil-industries avatar

Garphield

ammil-industries/garphield-mcp

Build, style, and share network graphs from tables, graph files, or links.

CCM score
71 of 100
tools
8
transport
STDIO, HTTP
last updated
Nov 29, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Creates graphs from node-link JSON, CSV text, GEXF, GraphML, or GML with garphield_create, and reads stored graphs back with garphield_inspect
  • Styles with garphield_style and garphield_focus, and computes positions with garphield_layout, all saved into the document
  • Shares and exports via garphield_share, garphield_export, and garphield_validate, with links, .gph files, and text or PNG formats
  • Offers a hosted connector with no sign-in, or a local stdio server that keeps documents on disk and works offline

Install

$ npx -y add-mcp https://mcp.garphield.com/mcp --name garphield -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http garphield https://mcp.garphield.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 8 tools

Verified live against the running server on Nov 28, 2026.

garphield_createCreate a stored graph document from data and return its reference (doc). Pass exactly one of: graph (node-link JSON: nodes [{id, ...attributes}] and edges [{source, target, ...attributes}]), table (CSV text for links, optionally nodes), file (a GEXF, GraphML, GML, node-link JS...5 params

Create a stored graph document from data and return its reference (doc). Pass exactly one of: graph (node-link JSON: nodes [{id, ...attributes}] and edges [{source, target, ...attributes}]), table (CSV text for links, optionally nodes), file (a GEXF, GraphML, GML, node-link JS...

Parameters* required
fileobject
A graph file in a format the workbench opens (not DOT).
graphobject
Node-link JSON. Nodes named only by a link are created. Ids are stored as strings.
namestring
Title shown in the workbench and in share previews.
tableobject
Tables as text. Columns match case-insensitively; numeric cells become numbers and blank cells stay missing.
urlobject
Data fetched from a public link. A table's columns match case-insensitively; when source or target is missing, the error lists the columns.
garphield_inspectDescribe a stored graph: size, whether it has saved positions, its data fields (ids to bind, type num or cat, missing counts, ranges or example values), the channels and the types each accepts, the computed algorithms, the current view config (bindings, filters and saved sets)...2 params

Describe a stored graph: size, whether it has saved positions, its data fields (ids to bind, type num or cat, missing counts, ranges or example values), the channels and the types each accepts, the computed algorithms, the current view config (bindings, filters and saved sets)...

Parameters* required
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
includearray
Sections to return. Default ["fields", "channels", "config"]. "algorithms" lists computed sources (degree, louvain, ...) with their params; "scales" gives what each binding draws (every value's mar...
garphield_styleBind data fields or computed algorithms to visual channels, and set the layout mode, how links show direction (arrows), theme, tooltip templates for nodes and links, drawing values (appearance: link width and opacity, node size, curvature, label placement) and structure (Group...11 params

Bind data fields or computed algorithms to visual channels, and set the layout mode, how links show direction (arrows), theme, tooltip templates for nodes and links, drawing values (appearance: link width and opacity, node size, curvature, label placement) and structure (Group...

Parameters* required
appearancevalue
The Style pane's drawing values, e.g. {"linkWidth": 4, "linkOpacity": 0.7}. Merges with the values already set; null returns them all to the defaults.
bindingsarray
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
edgeDirectionstring
How links show their direction in a directed graph: arrow (arrowheads), tapered (each link narrows toward its target, the workbench default), flow (animated) or line (none).one of line · tapered · arrow · flow
layoutstring
Layout the workbench uses on open. Sets config only and computes no positions.one of force · levels · geo
linkTooltipTemplatevalue
Embed hover card for links: the same Markdown over link attributes, plus {source} and {target} (the end nodes' labels), e.g. "### {source} to {target}\n{tasks} tasks". A line that is only {@markdow...
previewboolean
true returns a 600x400 image of the saved graph, so you can check it for overlapping nodes, tangles and unreadable labels and fix them. A render can take 10-20 s and counts toward the host's image...
replaceboolean
true replaces every binding with this list; false (default) merges by channel.
structureobject
How the workbench and embeds draw the graph on open: Group by, Backbone and merge. Each part changes only what is given. A merge draws with neither groups nor the Backbone: turning it on turns them...
themevalue
Default theme for embed links (and the saved view, if the document has one). null clears it; a saved view returns to the light default.
tooltipTemplatevalue
Embed tooltip Markdown with {attribute} placeholders, e.g. "### {label}\n{role}". null clears it.
garphield_focusSave named sets of nodes and focus the view on them; the app, share links, embeds and PNG exports all show the result. A set comes from exactly one of: nodes (ids), edges ([source, target] pairs, kept as their endpoints), path (a shortest path from one node to another), top (t...5 params

Save named sets of nodes and focus the view on them; the app, share links, embeds and PNG exports all show the result. A set comes from exactly one of: nodes (ids), edges ([source, target] pairs, kept as their endpoints), path (a shortest path from one node to another), top (t...

Parameters* required
clearstring
Applied first. "filters" empties the filter stack; "all" also deletes every set and every binding that reads one.one of filters · all
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
filtersarray
Merged into the filter stack by id.
markvalue
Ring this set's nodes (the border channel bound to the set). null removes a set ring.
setsarray
garphield_layoutCompute and save node positions for a stored graph with the workbench's own layout recipes, and grade the result with its quality gate. Optional: a graph without positions is laid out by the browser when it opens. Use this to bake positions (for a gallery file or a stable shar...6 params

Compute and save node positions for a stored graph with the workbench's own layout recipes, and grade the result with its quality gate. Optional: a graph without positions is laid out by the browser when it opens. Use this to bake positions (for a gallery file or a stable shar...

Parameters* required
aspectnumber
Width over height of the frame to fit. Default 1.6.
clearboolean
Remove saved positions instead, so the browser lays the graph out when it opens. Pass only doc with it.
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
levelsobject
levels mode only.
modestring
force (production Blend, or ForceAtlas2 for large graphs), levels (layered), or geo (the browser places nodes by their coordinate fields). Default: the document's layout, else force.one of force · levels · geo
previewboolean
true returns a 600x400 image of the saved graph, so you can check it for overlapping nodes, tangles and unreadable labels and fix them. A render can take 10-20 s and counts toward the host's image...
garphield_validateCheck a stored document (doc) or a raw .gph document (document) the way the workbench would load it, strictly: the schema, the graph, every binding against the graph's fields and the channel rules, and the filter stack. Returns ok, errors (code, path, message, expected, sugges...2 params

Check a stored document (doc) or a raw .gph document (document) the way the workbench would load it, strictly: the schema, the graph, every binding against the graph's fields and the channel rules, and the filter stack. Returns ok, errors (code, path, message, expected, sugges...

Parameters* required
docstring
Document reference: a stored document id, a file path, or "current" in the workbench.
documentobject
A whole .gph document as JSON, for callers who wrote one themselves.
garphield_shareGet links that open a stored graph in the Garphield workbench and in its embeddable view, plus an iframe snippet. Depending on the host the link points at the stored document (anyone with the link can open it, until expiresAt), carries the whole document in the URL (selfContai...4 params

Get links that open a stored graph in the Garphield workbench and in its embeddable view, plus an iframe snippet. Depending on the host the link points at the stored document (anyone with the link can open it, until expiresAt), carries the whole document in the URL (selfContai...

Parameters* required
chromearray
Embed controls to show. Omitted: the embed's defaults. -wordmark takes the link off the Garphield wordmark; the mark stays.
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
targetstring
Which link `url` is: the full workbench ("app", default) or the chromeless embed.one of app · embed
themestring
Embed theme. Default: the document's theme, if it has one.one of light · dark · seafoam
garphield_exportExport a stored graph as a .gph project (with its view config and positions), as node-link JSON, GEXF, GraphML or GML, or as a PNG where the host can render. Text formats come back inline up to the host's result limit; gph also reports where the stored file is, when the host h...5 params

Export a stored graph as a .gph project (with its view config and positions), as node-link JSON, GEXF, GraphML or GML, or as a PNG where the host can render. Text formats come back inline up to the host's result limit; gph also reports where the stored file is, when the host h...

Parameters* required
doc*string
Document reference: a stored document id, a file path, or "current" in the workbench.
format*string
gph is the full Garphield project; nodeLink, gexf, graphml and gml carry the graph and its attributes; png is an image where the host can render one.one of gph · nodeLink · gexf · graphml · gml · png
heightinteger
png only.
inlineboolean
gph only: false returns just the stored location and size, without the text. Default true.
widthinteger
png only.

Readme

Garphield

Garphield MCP server

Garphield is a workbench for network graphs. Its MCP server lets Claude, ChatGPT, Cursor and other AI clients build a graph from your data, bind colour, size and link width to it, lay it out, check how readable the layout is, and give you a link that opens the graph in Garphield.

An email network coloured by team, drawn inline in Claude

This repository has the server's listing, licence and issue tracker. The source code is private. Documentation lives at garphield.com/docs/agents.

Connect

Hosted (no install, no account): add a custom connector with this URL.

https://mcp.garphield.com/mcp
  • Claude: Settings, then Connectors, then Add custom connector.
  • ChatGPT: Settings, then Apps, then Add custom MCP server.

Local (graphs stay on your disk): run the npm package garphield-mcp, which needs Node.js 22.19 or later.

claude mcp add garphield -- npx -y garphield-mcp

View the full README on GitHub

Details

Repository
github.com/ammil-industries/garphield-mcp
Website
garphield.com/docs/agents
Categories
Data & Analytics, Design & UI/UX
Package
garphield-mcp
Transport
STDIO, HTTP
Registry
MCP registry, active
Resources
1
Tools verified
Nov 28, 2026

Questions

What can Garphield let an AI agent do with network graphs?

Garphield lets an agent build a network graph from node and link tables, graph files or a table URL, then bind colors, sizes and link widths to the data. It can also lay the graph out, grade its readability, share a link and export it as PNG, GEXF, GraphML or GML.

How do I install the Garphield MCP server in Claude Code?

Run claude mcp add --transport http garphield https://mcp.garphield.com/mcp in a terminal. Garphield then gives the agent its eight tools for creating, styling, laying out, sharing and exporting graphs.

Where does Garphield rank in the Data & Analytics category on Claude Marketplaces?

Garphield ranks in the top 100 of the Data & Analytics category on Claude Marketplaces. Other servers that lead that category include Metabase, PostHog and Microsoft Fabric MCP Server, while Garphield focuses on building and styling network graphs.

Does the Garphield MCP server need an account or API key?

The hosted Garphield server needs no install and no account, you only add its URL as a custom connector. The local npm package needs Node.js 22.19 or later and keeps graphs as files on your disk.

Who can open a graph that Garphield stores on the hosted server?

Garphield stores hosted graphs under an unguessable id that expires 30 days after their last change. Anyone with a graph's link can open that graph.

More from ammil-industries

All 2

Similar to Garphield

More Data & Analytics