Feedback

Basic information

Runtime
python
Version
0.1.3
Category
License
MIT
Transports
stdio
Author
osama-ata
Submitted by
Community
Quality
20
Stars
9

About P6XER MCP Server

This is the Model Context Protocol (MCP) Server for P6 XER files, exposes machine-readable MCP manifests for PyP6XER's modules for use by AI models.

P6XER MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by osama-ata. It exposes 13 tools, including parse_xer_file, get_project_activities, get_critical_path, analyze_resource_utilization and more. Supported transport: stdio. Runtime: python. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: cpm, p6, scheduling, xer.

Setup

{
    "mcpServers": {
        "p6xer": {
            "command": "uvx",
            "args": [
                "p6xer-mcp-server"
            ]
        }
    }
}

P6XER MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "p6xer": {
            "command": "uvx",
            "args": [
                "p6xer-mcp-server"
            ]
        }
    }
}

P6XER MCP Server tools

  • parse_xer_file — Parse a Primavera P6 XER file and return basic project information: project list with status breakdowns, total activities, resources, calendars, WBS elements, and relationships.
    file_path:string*
  • get_project_activities — Get activities from an XER file. Filter options: - project_id: numeric P6 project ID - project_short_name: project short name string - status: TK_NotStart | TK_Active | TK_Complete - task_type: TT_Task | TT_Mile | TT_FinMile | TT_WBS - limit: max rows returned (default 100)
    file_path:string*, limit:integer, project_id, project_short_name, status, task_type
  • get_critical_path — Find critical path activities (total float <= 0, incomplete only). Results are sorted by early start date ascending. Accepts either project_id (numeric) or project_short_name as a filter.
    file_path:string*, project_id, project_short_name
  • analyze_resource_utilization — Summarize resource utilization: planned/actual hours and costs per resource. Labor resources (RT_Labor) are flagged as over_allocated if planned hours exceed max_hours_per_year (default 2080 = 40 hrs/week x 52 weeks). Results are sorted by planned hours descending.
    file_path:string*, max_hours_per_year:number
  • check_schedule_quality — DCMA-style schedule quality check on open/in-progress activities. Identifies: - Activities missing predecessors (excluding start milestones) - Activities missing successors (excluding finish milestones) - Long-duration activities (threshold: long_duration_days, default 20) - High-float activities (threshold: high_float_days, default 44) - TT_Task activities without any resource assignment - Activities missing early start dates
    file_path:string*, high_float_days:number, long_duration_days:number, project_id, project_short_name
  • get_resources — List all resources in an XER file. Optionally filter by type: RT_Labor | RT_Mat | RT_Equip
    file_path:string*, rsrc_type
  • get_resource_assignments — Get resource-activity assignments, enriched with resource and activity names. - rsrc_name: partial match on resource name (case-insensitive) - task_code: exact match on activity task code
    file_path:string*, limit:integer, rsrc_name, task_code
  • get_wbs — Get the Work Breakdown Structure (WBS) hierarchy, optionally filtered by project.
    file_path:string*, project_id, project_short_name
  • get_relationships — Get activity predecessor/successor relationships, enriched with task codes. If task_code is supplied, returns only relationships where that activity appears as the successor or as the predecessor.
    file_path:string*, limit:integer, task_code
  • get_calendars — List all calendar definitions in the XER file with hours-per-period data.
    file_path:string*
  • get_schedule_summary — Comprehensive schedule summary: activity counts by status, critical activity count, milestone count, resource/calendar/WBS/relationship totals, and date range.
    file_path:string*, project_id, project_short_name
  • get_earned_value — Calculate Earned Value Management (EVM) metrics per project: PV (Planned Value), EV (Earned Value), AC (Actual Cost), CV (Cost Variance), SV (Schedule Variance), CPI, SPI, EAC.
    file_path:string*, project_id, project_short_name
  • get_activity_detail — Get full detail for a single activity by its task_code (case-insensitive). Returns all scheduling fields plus enriched predecessors, successors, and resource assignments with names and costs.
    file_path:string*, task_code:string*

Overview

What is P6XER MCP Server?

A full-featured Model Context Protocol (MCP) server for Primavera P6 XER files, built on PyP6XER. It 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬