osama-ata avatar

p6xer MCP Server

osama-ata/p6xer-mcp-server

If you work with Primavera P6 schedules, this server parses XER files and exposes 13 tools for querying activities, critical paths, resource allocations, and earned value metrics. Built on PyP6XER, it lets you filter tasks by status or type, run DCMA schedule quality checks, analyze resource over-allocation, and retrieve WBS hierarchies or predecessor relationships. The three resources provide project summaries, activity breakdowns, and resource stats by URI. Two prompts handle general analysis and report generation in formats like executive summary or critical path focus. Useful when you need to interrogate schedule data without opening P6 itself, especially for automated reviews or quick EVM calculations.

GitHub stars
8
tools
13
auth
Secret needed
transport
STDIO
env vars
3
last updated
Mar 25, 2026

Tools

13 tools

Public tool metadata for what this MCP can expose to an agent.

parse_xer_fileParse an XER file — project list, totals, status breakdowns

Parse an XER file — project list, totals, status breakdowns

No parameter schema in public metadata yet.

get_project_activitiesActivities with filters: project_id, project_short_name, status, task_type

Activities with filters: project_id, project_short_name, status, task_type

No parameter schema in public metadata yet.

get_critical_pathCritical path activities (float ≤ 0), sorted by early start

Critical path activities (float ≤ 0), sorted by early start

No parameter schema in public metadata yet.

analyze_resource_utilizationPlanned/actual hours & costs per resource; over-allocation flags

Planned/actual hours & costs per resource; over-allocation flags

No parameter schema in public metadata yet.

check_schedule_qualityDCMA-style check: missing logic, long durations, high float, unresourced tasks

DCMA-style check: missing logic, long durations, high float, unresourced tasks

No parameter schema in public metadata yet.

get_resourcesList resources, optionally filtered by type

List resources, optionally filtered by type

No parameter schema in public metadata yet.

get_resource_assignmentsResource–activity assignments with enriched names and costs

Resource–activity assignments with enriched names and costs

No parameter schema in public metadata yet.

get_wbsWork Breakdown Structure hierarchy

Work Breakdown Structure hierarchy

No parameter schema in public metadata yet.

get_relationshipsPredecessor/successor relationships enriched with task codes

Predecessor/successor relationships enriched with task codes

No parameter schema in public metadata yet.

get_calendarsCalendar definitions with hours-per-period data

Calendar definitions with hours-per-period data

No parameter schema in public metadata yet.

get_schedule_summaryAt-a-glance stats: counts, date range, critical count

At-a-glance stats: counts, date range, critical count

No parameter schema in public metadata yet.

get_earned_valueEVM: PV, EV, AC, CV, SV, CPI, SPI, EAC per project

EVM: PV, EV, AC, CV, SV, CPI, SPI, EAC per project

No parameter schema in public metadata yet.

get_activity_detailFull detail for one activity (preds + succs + resources)

Full detail for one activity (preds + succs + resources)

No parameter schema in public metadata yet.

Sponsors

Configuration

P6XER_API_KEYsecret

API key used to authenticate with p6xer service.

P6XER_ENDPOINT

Optional p6xer endpoint URL (default uses local p6xer daemon).

P6XER_LOG_LEVEL

Optional log verbosity level (e.g., DEBUG, INFO, WARN, ERROR).

Readme

P6XER MCP Server

mcp-name: io.github.osama-ata/p6xer-mcp-server

PyPI version Python 3.12+ License: MIT MCP

A full-featured Model Context Protocol (MCP) server for Primavera P6 XER files, built on PyP6XER.

Exposes 13 Tools, 3 Resources, and 2 Prompts so any MCP-compatible AI client (Claude Desktop, Claude Code, Cursor, etc.) can interactively parse, query, and analyze .xer schedule files.


🚀 Features

🔧 Tools (13)


View the full README on GitHub

Details

Repository
github.com/osama-ata/p6xer-mcp-server
Website
github.com/osama-ata/p6xer-mcp-server
Package
p6xer-mcp-server
Transport
STDIO
Auth
Required
Registry
MCP registry, active