# MCP for Primavera P6

> MCP for Primavera P6 is an open-source MCP server for productivity. Ask questions of a Primavera P6 schedule: critical path, DCMA checks and what-if. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, Windows
- **Website:** https://mcp-for-primavera-p6.pages.dev
- **Repository:** https://github.com/nizarhamza/p6-mcp
- **MCP Registry name:** io.github.nizarhamza/p6-mcp
- **Categories:** productivity, analytics and data
- **Listing updated:** 2026-11-14

## About

Schedulers can query a P6 project in plain language while the arithmetic stays in the server: dates and float come from the last schedule run (F9), and the model only explains results. The server reads a P6 Professional database (standalone, SQLite) or XER files and exposes 58 tools and 15 core skills.

Typical questions are what drives the finish date and where float comes from, whether the project passes the DCMA 14-point check with the project's own thresholds, what changed since the last update, and how likely the contract finish is, using Monte Carlo for P50 and P80 dates. What-if changes run in memory through a CPM engine checked against P6's own dates and write nothing.

Writes are off until you allow them, with a backup before each write by default and every write logged. It runs on your PC without telemetry, is Apache 2.0 licensed, and is not affiliated with Oracle.

## Features

- **Driving path analysis:** Trace driving predecessors back to the root cause of the finish date.
- **DCMA 14-point check:** Run the checks with the project's thresholds, plus CPLI and BEI.
- **Update comparison:** Activity-by-activity and link-by-link changes between updates.
- **What-if in memory:** Test changes without writing to P6.
- **Schedule risk:** Monte Carlo P50 and P80 finish dates.
- **Guarded write-back:** Writes are opt-in, backed up and logged.

## Good for

- Explain why a finish date slipped between updates
- Prepare a DCMA health check before a submission
- Estimate the chance of finishing on time
- See what starts in the next few weeks, critical work first

## Install

### Claude Code (Terminal)

```sh
claude mcp add p6-mcp -- npx -y https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "p6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "p6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "p6-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "p6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "p6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb"
      ]
    }
  }
}
```

## Tools

- `p6_driving_path`: Traces the driving predecessor chain to its root cause
- `p6_float_origin`: Shows where total float comes from
- `p6_health_check`: Runs the DCMA 14-point check
- `p6_compare_projects`: Compares two schedule versions
- `p6_update_integrity`: Checks the integrity of a schedule update
- `p6_schedule_whatif`: Applies a change in memory and re-runs the schedule
- `p6_cpm_validate`: Validates the CPM engine against P6's own dates
- `p6_schedule_risk`: Monte Carlo schedule risk analysis
- `p6_lookahead`: Lists activities in an upcoming window
- `p6_project_summary`: Summarizes a project

## FAQ

### Does it send my schedule anywhere?

The site says it runs on your PC without telemetry, and only tool results go to your client's model.

### Can it change my P6 data?

Only when you allow writes; a backup is taken before each write by default.

### Which data sources work?

P6 Professional databases and XER files.

### Which licence?

Apache 2.0.

### Is MCP for Primavera P6 free?

Yes. MCP for Primavera P6 is open source, so you can use and self-host it for free.

### How do I add MCP for Primavera P6 to Claude Code?

Run this command in your terminal: claude mcp add p6-mcp -- npx -y https://github.com/nizarhamza/p6-mcp/releases/download/v2.1.1/p6mcp-2.1.1.mcpb

### What are the best alternatives to MCP for Primavera P6?

The closest alternatives to MCP for Primavera P6 are Ha MCP, Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Concord MCP and Tapetide - Indian Stock Market MCP.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.

---
Source: https://ai-powered.com/mcp/mcp-for-primavera-p6
