Skip to main content
MCP server CX Codex

p6xer MCP Server — Claude Code MCP server: use and install

This MCP server reads Primavera P6 XER files and lets an agent inspect schedules, resources, critical paths, and earned-value metrics.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env P6XER_API_KEY=<P6XER_API_KEY> --env P6XER_ENDPOINT=<P6XER_ENDPOINT> --env P6XER_LOG_LEVEL=<P6XER_LOG_LEVEL> --transport stdio p6xer-mcp-server -- uvx p6xer-mcp-server
Open on GitHub

What p6xer MCP Server does

p6xer MCP Server works with Primavera P6 .xer files. Its 13 tools parse projects and activities, find critical-path work, inspect resources and relationships, check schedule quality, and return WBS and calendar data. It also calculates earned-value measures such as CPI and SPI and can return the full record for one activity.

The package exposes 3 resources for project, activity, and resource summaries, plus 2 prompts for project analysis and reporting. It can run through uvx p6xer-mcp-server. A local setup requires Python ≥ 3.10, mcp[cli] >= 1.6.0, < 2.0.0, and pyp6xer >= 1.16.0; the supplied setup commands use P6XER_API_KEY, P6XER_ENDPOINT, and P6XER_LOG_LEVEL.

What it helps with

  • parse a Primavera P6 XER file
  • trace activities on the critical path
  • run a DCMA-style schedule check
  • calculate earned-value metrics
  • find over-allocated resources and assignments

Example prompts for the agent

  • Parse project.xer and summarize every project.
  • List the critical-path activities in project.xer, ordered by start date.
  • Run a schedule quality check on project.xer and report CPI and SPI.

How to install p6xer MCP Server

Platform CLI

claude mcp add --env P6XER_API_KEY=<P6XER_API_KEY> --env P6XER_ENDPOINT=<P6XER_ENDPOINT> --env P6XER_LOG_LEVEL=<P6XER_LOG_LEVEL> --transport stdio p6xer-mcp-server -- uvx p6xer-mcp-server

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from p6xer-mcp-server <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about p6xer MCP Server

How do I install p6xer MCP Server in Claude Code?

Run claude mcp add p6xer-mcp-server -e P6XER_API_KEY=<P6XER_API_KEY> -- uvx p6xer-mcp-server.

What does p6xer MCP Server do?

It parses .xer schedules, examines critical paths, resources, relationships, and calendars, checks schedule quality, and calculates EVM metrics.

What is required for a local installation?

Use Python ≥ 3.10 with mcp[cli] >= 1.6.0, < 2.0.0 and pyp6xer >= 1.16.0.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor