# MCP for Primavera P6

MCP for Primavera P6 — a local MCP server reads a Primavera P6 Professional database or XER files and calculates critical path, DCMA checks and what-if scenarios straight from the schedule.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 10 repo stars
- Author: nizarhamza
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nizarhamza/p6-mcp
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-for-primavera-p6

## What it does

Rather than summarising a schedule, the server runs the numbers behind questions like what drives the finish date, where float has disappeared, or what changed between two updates. Dates and float figures come from P6's own last scheduling run (F9). It handles EPS and WBS roll-ups, critical and driving path detection, a DCMA 14-point check scored against the project's own thresholds, update-to-update or baseline comparisons with slip causes, and what-if or Monte Carlo risk runs that stay in memory and are never saved back.

A separate mode works purely from XER files, so schedules can be inspected, imported or exported without a P6 installation at all. Writing changes into the live P6 database — durations, links, constraints, actuals, UDFs — stays off until turned on: each edit is previewed first, applied only on confirmation, and backed up with a log entry.

The installer targets Windows 10 or 11 and sits alongside P6 Professional, with its own bundled Python. No database is picked automatically: every tool call returns an unconfigured-database message until one is selected in the server's settings.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- trace what drives a project's finish date
- run a DCMA 14-point check against a schedule
- compare two updates or a baseline for slipped activities
- test a what-if scenario without touching P6 directly
- import or inspect an XER file with no P6 installed

## Example prompts
- Trace the driving path to the project completion milestone
- Run a DCMA check on the March schedule update
- Show what happens if procurement slips by four weeks

## Similar
- [Rillsoft Project](https://affpapa.org/en/nevibecode/mcp/rillsoft-project.md) — MCP server
- [xml-reader](https://affpapa.org/en/nevibecode/skills/xml-reader.md) — skill · 125 installs
- [p6xer MCP Server](https://affpapa.org/en/nevibecode/mcp/p6xer-mcp-server.md) — MCP server · ★ 13 repo stars
- [Critical Path Partners](https://affpapa.org/en/nevibecode/mcp/critical-path-partners.md) — MCP server · ★ 5 repo stars
- [airflow-expert](https://affpapa.org/en/nevibecode/skills/airflow-expert.md) — skill · 174 installs
- [windows-git-bash-paths](https://affpapa.org/en/nevibecode/skills/windows-git-bash-paths.md) — skill · 173 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
