US power plant, generation, price, curtailment and water data, with sources on every result.
infrahub MCP Server
Published by opsmillAn MCP server connects your AI assistants to Infrahub using the open MCP standard.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.2
- SOURCE CHECKED
- Nov 28, 2026
Quick answers
How do I add infrahub MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'INFRAHUB_ADDRESS=<your-infrahub-address>' --env 'INFRAHUB_API_TOKEN=<your-infrahub-api-token>' --transport stdio infrahub -- uvx infrahub-mcpReplace the <your-…> placeholder with your own INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"infrahub": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<your-infrahub-address>",
"INFRAHUB_API_TOKEN": "<your-infrahub-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.
CodexCommand
Run this in your terminal:
codex mcp add infrahub --env 'INFRAHUB_ADDRESS=<your-infrahub-address>' --env 'INFRAHUB_API_TOKEN=<your-infrahub-api-token>' -- uvx infrahub-mcpReplace the <your-…> placeholder with your own INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"infrahub": {
"type": "stdio",
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<your-infrahub-address>",
"INFRAHUB_API_TOKEN": "<your-infrahub-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"infrahub": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<your-infrahub-address>",
"INFRAHUB_API_TOKEN": "<your-infrahub-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use infrahub MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does infrahub MCP Server need an API key?
To run it on your computer, set INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN first, with values from the publisher.
Is infrahub MCP Server official?
It's published by opsmill. The Official MCP Registry accepts names under com.opsmill only from someone who proved they control opsmill.com. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · infrahub-mcp@0.1.2