longpath MCP server
Read-only P6 / MS Project schedule analysis: CPM, float, DCMA 14-point, logic checks, S-curves.
0 stars
Reviews
Write oneNobody has reviewed longpath yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
longpath tools (17, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
activity_detailEverything about one activity (by activity ID, or exact name): type, status, calendar, durations, actual / early / late dates from the CPM engine next to the dates stored in the file, total and free float (computed and stored), constraints, activity codes, user fields, resource and cost assignments, and its predecessors and successors with relationship type, lag, relationship float and a driving f
baseline_varianceStart / finish / duration variance of every activity against a baseline, in working days (positive = later than baseline), worst finish variance first, plus the project finish variance. Baseline source, in order: baseline_path (a baseline schedule file, matched on activity ID), the baseline stored in the file (MS Project Baseline 0), or P6 Planned Start/Finish (labelled as such, since it is not a
check_setupShow the server version, which config file is in use, and whether .mpp support is available (Java + MPXJ jars, where they were found). Run this first if a .mpp file fails to open. .xer and XML files never need Java.
compare_scheduleswrite actionUpdate-to-update comparison of two versions of a schedule (previous vs current update). Summary: both data dates and finishes, finish slip (working and calendar days), longest-path turnover; then counts and top rows for added/deleted activities and relationships, lag changes, duration changes, date changes (largest finish movement first), float changes (biggest loss first), started / finished this
critical_pathThe critical path, in start order. method='longest_path' (default) traces driving relationships back from the latest finish, as P6's Longest Path does; method='total_float' lists activities whose total float is at or below the project's critical threshold (or float_threshold_days). Each row carries total float and whether it is driven by a relationship or by the data date / a constraint.
dcma_assessmentDCMA 14-point schedule assessment with the standard thresholds: logic, leads, lags, relationship types, hard constraints, high float (>44 d), negative float, high duration (>44 d), invalid dates, resources, missed tasks, critical path test (adds 600 days to a longest-path activity and checks the finish moves), CPLI and BEI. Each check reports metric, threshold, pass/fail and example offenders. Mis
driving_pathEverything that drives one activity: its driving predecessors, their driving predecessors and so on, back to the activities driven only by the data date or a constraint. Use it to answer 'why is this activity (or milestone) forecast on that date?'.
export_csvwrite actionWrite the FULL list behind one of the list tools to a new .csv file (Excel-friendly UTF-8). `tool` is one of list_activities, list_relationships, wbs_tree, critical_path, driving_path, dcma_assessment (with check=...), logic_check (with check=...), compare_schedules (with section=...), baseline_variance, s_curve, list_resources; `arguments` are that tool's arguments (path, filters...). Never overw
list_activitiesList activities with filters; returns the match count and the top `limit` rows (id, name, WBS, type, status, durations, start/finish, computed total float in working days, constraint). Filters: wbs = WBS code or name fragment (includes everything below it); code = 'Code Type=Value' or a bare value (activity codes and user fields); status = not_started / in_progress / complete / incomplete; activit
list_calendarsList the work calendars in a schedule file: work week (hours per weekday), hours per day, number of holiday and changed-hours exceptions, and how many activities use each. Pass `calendar` (name or id) for one calendar with its exception dates (up to `exceptions` of them).
list_relationshipsList relationships (predecessor -> successor, type, lag in working days of the predecessor, driving flag and relationship float from the CPM engine). Filter by an activity (either end), rel_type (FS/SS/FF/SF), lag range, or driving_only.
list_resourcesResources assigned in the project with totals: activities, budget / actual / remaining units and cost, resource type. Expenses and fixed costs are summed on their own line. Largest budget cost first.
logic_checkLogic-quality sweep: loops, open starts/finishes, dangling starts/finishes, leads, excessive lags (> max_lag_days), SF links, SS/FF-only activities, hard and soft constraints, long durations, out-of-sequence progress, dates on the wrong side of the data date, zero-duration tasks, duplicate and redundant links, summary-task and external links. Returns every check's count with a few examples; pass c
run_cpmwrite actionRun the server's own CPM engine (forward/backward pass: FS/SS/FF/SF, lags, each activity's calendar with holidays, constraints, data date, retained logic or progress override per the file's settings) and report the computed finish, critical and longest-path counts, and a check against the float and early dates the scheduling tool saved in the file: how many total floats match, and the largest diff
s_curveS-curve / loading data by period: planned (baseline) vs actual vs forecast, per period and cumulative, for measure = cost, units (resource hours/quantities) or activities (count of finishes). period = week, month or quarter. resource = one resource's code or name for its histogram. Planned values come from baseline_path, the file's stored baseline, or P6 planned dates, spread linearly over working
schedule_summaryOpen a schedule file (.xer, .mpp, MS Project .xml, P6 .xml) and summarize it: projects in the file, data date, activity/relationship/WBS/calendar/resource counts by type and status, planned start, finish (stored and as computed by the CPM engine), critical and longest-path counts, float spread, scheduling options, and warnings from reading the file. Use this first on any new file. `project` = shor
wbs_treeThe WBS hierarchy down to `max_depth` levels, each node with its activity count (including everything below it), how many are incomplete, the earliest start, latest finish and lowest total float (working days) under it.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan18 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
How longpath compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 89/100
- higher than 80% of 48,273 servers
- Tools
- 17
- the typical server has 7
- Tools that change things
- 18%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 14 read · 2 change · 1 run or deploy
Install longpath in Claude Code, Cursor or VS Code
claude mcp add longpath -- uvx longpath
What the publisher says
From the longpath repository's README, as published. We do not edit it. Read it on GitHub
longpath
<!-- mcp-name: io.github.S-CurveLabs/longpath -->
An MCP server that lets an assistant (Claude Code, GitHub Copilot agent mode, any MCP client) read and analyze construction / project schedules the way a scheduler would: its own CPM engine, float, critical and driving paths, the DCMA 14-point assessment, logic-quality checks, update-to-update comparison, baseline variance and S-curve data.
Schedule files are only ever read. .xer and MS Project XML need nothing but Python; without the optional extra and Java, a .mpp fails with a message saying exactly what to install.
Tools
Every tool takes the schedule's absolute path. Every list returns count plus the top limit rows (default 25) and says when it truncated. Durations and float are working days on each activity's own calendar unless a field ends in _h.
Install
pip install longpath # or run it without installing: uvx longpathNeeds Python 3.11+. That is all .xer and MS Project XML files need.
MS Project .mpp and P6 XML (optional). These go through MPXJ, a Java library:
(with uvx: uvx --from "longpath[mpp]" longpath).
- Install the extra, which pulls in the mpxj package for its bundled jars: pip install "longpath[mpp]"
javahome in longpath.toml, then JAVAHOME, then java on PATH.
- Install any Java 11+ runtime (JDK or JRE, e.g. Eclipse Temurin). longpath looks for it in
Run checksetup to see what was found. The MPXJ jars can also come from a folder of your own (mpxjclasspath). Without Java, MS Project's File > Save As > XML produces a file longpath reads natively.
Claude Code
claude mcp add --scope user longpath -- uvx longpath
# with .mpp support:
claude mcp add --scope user longpath -e JAVA_HOME=/path/to/jdk -- uvx --from "longpath[mpp]" longpathVS Code / Copilot. Add to the user-level mcp.json (MCP: Open User Configuration), so it works in every window:
"longpath": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "longpath[mpp]", "longpath"],
"env": { "JAVA_HOME": "C:\\path\\to\\jdk-21" }
}(Drop --from longpath[mpp] and the env block if you only read .xer / XML: "args": ["longpath"].)
Configuration (optional)
Every setting is optional. Copy longpath.example.toml to one of these (first match wins):
- the file named by LONGPATH_CONFIG
- longpath.toml in the server's working folder
- longpath.toml in LONGPATH_HOME, default %LOCALAPPDATA%\longpath\ on Windows, ~/.local/share/longpath/ elsewhere
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
longpath: common questions
- Is longpath MCP server safe?
- Yes, by our scan: it is graded A (89/100). Read the longpath safety report
- How do I install longpath?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does longpath need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is longpath maintained?
- The last commit was 40 days ago (2026-09-23). The latest release is v0.1.0.
- What can I use instead of longpath?
- Servers from other publishers that do the same job: Rsdoctor MCP server.
- How does longpath compare with other MCP servers?
- safety score 89/100 (higher than 80% of 48,273 servers); tools 17 (the typical server has 7); tools that change things 18% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to longpath
Same job from other publishers: the closest match first, then the best rated.
- RsdoctorAn MCP server that provides build analysis and optimization recommendations for Rspack projects.not reviewedEstablishedB