Causal root-cause analysis MCP server -- 56 tools across graphs, RCA models, PyRCA.
Note: the
api.rca-mcp.comcustom domain isn't wired up yet — pointRCA_MCP_API_URLat the current backend URL below instead.
The only MCP server purpose-built for causal Root Cause Analysis. 56 tools covering causal graph construction, 10 RCA model families plus 3 dedicated PyRCA algorithms (Salesforce PyRCA, BSD-3-Clause), multi-model consensus, and PDF/HTML/Excel/Markdown report generation. Works with Claude, Ollama, Groq, OpenAI, Gemini, LangChain, Cursor — 10 providers.
rca-mcp-connector is a published PyPI package — no clone needed. Point any MCP
client at it with uvx (or pip install rca-mcp-connector if you'd rather manage
the install yourself):
uvx rca-mcp-connector
Get a free API key at rcamcp.datalizedglb.cloud — no credit
card required — then set RCA_MCP_API_KEY in your MCP client's config (examples
below).
Add to .mcp.json in your workspace root:
{
"mcpServers": {
"rca-mcp": {
"command": "uvx",
"args": ["rca-mcp-connector"],
"env": {
"RCA_MCP_API_URL": "https://rcamcp-production.up.railway.app",
"RCA_MCP_API_KEY": "your_api_key_here"
}
}
}
}
go install github.com/mark3labs/mcphost@latest
mcphost -m ollama:qwen3:14b --config providers/mcp-servers.json
from agents import Agent, MCPServerStdio
import asyncio
async def main():
async with MCPServerStdio(
params={
"command": "uvx",
"args": ["rca-mcp-connector"],
"env": {
"RCA_MCP_API_URL": "https://rcamcp-production.up.railway.app",
"RCA_MCP_API_KEY": "your_api_key_here",
},
}
) as rca_server:
agent = Agent(name="RCA Agent", model="gpt-4o", mcp_servers=[rca_server])
result = await agent.run("Find the root cause of the API latency spike.")
print(result.final_output)
asyncio.run(main())
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_anthropic import ChatAnthropic
from langgraph.prebuilt import create_react_agent
import asyncio
async def main():
async with MultiServerMCPClient({
"rca-mcp": {
"command": "uvx", "args": ["rca-mcp-connector"],
"env": {
"RCA_MCP_API_URL": "https://rcamcp-production.up.railway.app",
"RCA_MCP_API_KEY": "your_api_key_here",
},
"transport": "stdio",
}
}) as client:
tools = await client.get_tools()
agent = create_react_agent(ChatAnthropic(model="claude-sonnet-4-6"), tools)
result = await agent.ainvoke({"messages": [{"role": "user", "content": "Run an FMEA analysis"}]})
print(result["messages"][-1].content)
asyncio.run(main())
See providers/ for ready-to-use config templates and full examples (Groq, Gemini,
OpenRouter, Claude Desktop).
PyRCA (Salesforce): BSD-3-Clause Copyright (c) 2022, salesforce.com, inc. https://github.com/salesforce/PyRCA
Algorithms in rca_pyrca_* tools are independently-written adaptations of PyRCA's
published methods (Zheng et al. 2023, arXiv:2306.11417), not direct copies of PyRCA
source code, per the private API's models/pyrca_adapter.py.
@software{rcamcp2026,
title = {RCA-MCP: An MCP Server for Causal Root Cause Analysis},
author = {dave1362},
year = {2026},
url = {https://github.com/dave1362/rca-mcp-connector},
note = {v4.1.20}
}
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx rca-mcp-connectorMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-dave1362-rca-mcp-connector": {
"command": "uvx",
"args": [
"rca-mcp-connector"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencerca-mcp-connectorpypiRCA-MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.