Skip to main content

RCA-MCP Connector

Python License PulseMCP

Note: the api.rca-mcp.com custom domain isn't wired up yet — point RCA_MCP_API_URL at the current backend URL below instead.

What is RCA-MCP?

The only MCP server purpose-built for causal Root Cause Analysis. 71 tools covering causal graph construction, 10 RCA model families plus 3 dedicated PyRCA algorithms (Salesforce PyRCA, BSD-3-Clause), multi-model consensus, PDF/HTML/Excel/Markdown report generation, manufacturing quality tools (Pareto, SPC control charts and process capability, 8D case workflow, OEE and six-big-losses RCA), AEC structural/ safety investigation (Pro plan and above), and CPM delay/schedule analysis — SCL Protocol's Time Impact Analysis and Windows Analysis, Primavera P6/MS Project ingestion (Enterprise plan). Works with Claude, Ollama, Groq, OpenAI, Gemini, LangChain, Cursor — 10 providers.


Quick Start (2 minutes)

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).


Claude Code Setup

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"
      }
    }
  }
}

Ollama Setup

go install github.com/mark3labs/mcphost@latest
mcphost -m ollama:qwen3:14b --config providers/mcp-servers.json

OpenAI Agents SDK

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())

LangChain

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).


Third-Party Licences

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.


Citing RCA-MCP

@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.3.2}
}

Metadata

Release files for rca-mcp-connector 4.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rca-mcp-connector 4.3.2
File Size Uploaded Provenance Actions
rca_mcp_connector-4.3.2.tar.gz 42.4 kB With provenance Details for rca_mcp_connector-4.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rca-mcp-connector 4.3.2
File Interpreter ABI Platform Actions
rca_mcp_connector-4.3.2-py3-none-any.whl Python 3 none any Details for rca_mcp_connector-4.3.2-py3-none-any.whl

Total release size: 84.9 kB

Release files / rca_mcp_connector-4.3.2.tar.gz

Download URL rca_mcp_connector-4.3.2.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
de06715bd30b6f822c8eff8bac502d41f542210b9a23c3f16693f52589dd6e06
BLAKE2b-256 checksum
How to use checksums
e65655d08a63250575d5c6e2ced1491399d5eb0d94e5806719cd9c27635207b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / rca_mcp_connector-4.3.2-py3-none-any.whl

Download URL rca_mcp_connector-4.3.2-py3-none-any.whl
Size 42.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbcc4552f79218b0e1ba53e6b8d1a9c381146d53c294651c461822953466f857
BLAKE2b-256 checksum
How to use checksums
af45b11aef635aac2ef0aabe0319ba313eafc54424924cf9ddae7786413f5690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for rca-mcp-connector 4.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rca_mcp_connector-4.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page