PyP6Xer MCP Server
This server allows you to load, analyze, edit, and export Oracle Primavera P6 .xer schedule files from any MCP-compatible client.
File Management
Load
.xerfiles from a local path, URL, or base64-encoded contentManage multiple schedules simultaneously using different cache keys
Clear cached files and write modified schedules back to disk
Project & Activity Browsing
List all projects with summary statistics
List, paginate, filter, and search activities by name, ID, status, WBS code, or project
Get full details for a single activity (dates, float, costs, resources, relationships)
Retrieve available activity field names for optimized queries
Schedule Analysis
Critical path identification (total float ≤ 0)
Float distribution analysis with near-critical flagging
DCMA-style schedule quality checks (open ends, lags, constraints, negative float, etc.)
Composite schedule health score (0–100) with narrative summary
Slipping activities (forecast finish exceeds baseline finish)
Relationship analysis: types (FS/SS/FF/SF), lag/lead distribution, and logic density
Progress & Earned Value
Schedule progress summary (status breakdown, percent complete, milestones)
Full EVM metrics: BCWS, BCWP, ACWP, SPI, CPI, CV, SV, EAC, VAC
Resources & Calendars
List resources with assignment counts and cost/quantity totals
Resource utilization: planned vs. actual vs. remaining quantities and costs
List all calendars with type, hours, and default status
WBS Analysis
WBS hierarchy with task counts and cost rollups per node
Leaf-level work package summary with schedule and cost data
Export & Comparison
Export activities to CSV with configurable columns
Compare two schedule snapshots to identify added, removed, and changed activities
Editing
Update individual activity fields (status, percent complete, dates, remaining duration)
Batch update multiple activities in a single call
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PyP6Xer MCP ServerRun a schedule health check on terminal-building-airport"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PyP6Xer MCP Server
An MCP server wrapping PyP6Xer (
xerparser) for loading, analysing, and editing Oracle Primavera P6 .xer schedule files — directly from Claude or any MCP-compatible client.
Requirements
Python 3.13+
Install
uv syncConnect to Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"pyp6xer": {
"type": "stdio",
"command": "uv",
"args": ["run", "python", "/path/to/p6-mcp-2/server.py"]
}
}
}Usage
1. pyp6xer_load_file — load a .xer from a local path, URL, or base64
2. <analysis tools> — analyse the loaded schedule
3. pyp6xer_write_file — persist any edits back to diskMultiple files can be loaded simultaneously using different cache_key values.
Tools (25)
Category | Tools |
File |
|
Activities |
|
Analysis |
|
Progress / EVM |
|
Resources |
|
Calendars |
|
WBS |
|
Export |
|
Write |
|
All tool names are prefixed pyp6xer_ to avoid conflicts when used alongside other MCP servers.
Dependencies
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/pyp6xer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server