Factory Graph
MCP server that traces upstream utilities so AI checks the right factory equipment after
Factory Graph is an open-source MCP server for manufacturing. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, API
- Runs
- Locally
- Version
- 0.1.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add factory-graph-mcp -- uvx factory-graph-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"factory-graph-mcp": {
"command": "uvx",
"args": [
"factory-graph-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"factory-graph-mcp": {
"command": "uvx",
"args": [
"factory-graph-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"factory-graph-mcp": {
"command": "uvx",
"args": [
"factory-graph-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"factory-graph-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"factory-graph-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add factory-graph-mcp -- uvx factory-graph-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.factory-graph-mcp]
command = "uvx"
args = ["factory-graph-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"factory-graph-mcp": {
"command": "uvx",
"args": [
"factory-graph-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Or run: gemini mcp add -s user factory-graph-mcp uvx -- factory-graph-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "factory-graph-mcp": { "command": "uvx", "args": [ "factory-graph-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
FACTORY_GRAPH_DATAFolder with equipment.csv and connections.csv. Omit to use the bundled Korean sample plant.
About Factory Graph
When a machine alarms, the cause often lives in the utility feeding it: a chiller, cooling tower, compressor or power panel that may not have alarmed yet. This server reads two CSV files, an equipment list and a connection table, and lets an AI walk those links upstream through as many steps as needed, ranking the closest suppliers first.
It exposes read-only tools for finding equipment by shop-floor nicknames, inspecting one machine's inputs and outputs, tracing the upstream chain with the path each supply takes, and finding supply equipment shared by several machines at once. Loops in the connection data are skipped rather than followed forever.
The server is aimed at maintenance and production engineers who use an MCP-capable AI client. Korean is the primary language for equipment names, aliases and the bundled sample plant, though data in other languages is read as well. It does not decide root causes or touch equipment; it only narrows where to look.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 5 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- find_equipmentName suggests: reads
- Finds equipment numbers from names used on the floor, such as "1호기" or "칠러1".
- get_equipmentName suggests: reads
- Returns one equipment item with its directly attached inputs and outputs.
- trace_upstream
- Follows upstream supply from one equipment item in order of distance, with the path of each supply.
- trace_common_upstream
- Groups upstream equipment shared by several machines that are alarming together.
- describe_plantName suggests: reads
- Summarises the loaded plant's equipment count and connection types.
What it does
- Upstream chain tracing
- Follows supply connections through several levels, listing each supplier by distance.
- Shared supplier detection
- Finds utilities that feed several machines showing the same alarm at once.
- Shop-floor name lookup
- Matches equipment by aliases such as informal machine numbers used on the floor.
- Cycle-safe traversal
- Records revisited equipment and stops instead of looping on mutual connections.
- Read-only CSV data
- Reads equipment and connection CSV files without modifying them or connecting to machines.
- Bundled sample plant
- Includes a 13-machine CNC sample plant to try the tools before using your own data.
Good for
- Pinpointing whether a chiller or cooling tower is behind simultaneous spindle temperature alarms
- Mapping which utilities supply a given production line before a maintenance review
- Giving an AI assistant structured plant topology when triaging equipment faults
- Checking a plant's connection data for references to missing equipment IDs
Pricing
Open source
Free and MIT licensed
Factory Graph FAQ
Does Factory Graph read live sensor values or alarm history?
No. It works only on the connection structure from the CSV files. Live values can come from a separate MCP server such as one for OPC UA.
Can Factory Graph control equipment or decide the root cause?
No. It does not connect to machines or PLCs, and it leaves root-cause judgment to people on the floor.
What data format does Factory Graph need?
Two UTF-8 CSV files in one folder: an equipment list with IDs, names and types, and a connection table with from, to and kind columns.
How do I run Factory Graph?
Install with uvx and add it to an MCP client such as Claude Desktop, Claude Code, Codex or Cursor. Set FACTORY_GRAPH_DATA or pass --data to use your own folder.
Is Factory Graph free?
Yes. Factory Graph is open source, so you can use and self-host it for free.
How do I add Factory Graph to Claude Code?
Run this command in your terminal: claude mcp add factory-graph-mcp -- uvx factory-graph-mcp
What are the best alternatives to Factory Graph?
The closest alternatives to Factory Graph are Industrial-AIOps, 轻排生产排产(MRP-PMC), IQMS / DELMIA Apriso, Madeforai Supplychain Skill and Motor Current Signature Analysis.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
