feat: add analytics tools for flow metrics, WIP analysis, and aging reports#1
Merged
feat: add analytics tools for flow metrics, WIP analysis, and aging reports#1
Conversation
…eports Add 6 new MCP tools for project analytics: Flow Metrics: - get_flow_metrics: Calculate Lead Time, Cycle Time, Throughput with statistics - compare_flow_metrics: Compare metrics between two periods to identify trends WIP Analysis: - get_wip_analysis: Analyze Work in Progress by state, area, and person - get_bottlenecks: Identify workflow bottlenecks with recommendations - get_team_workload: Analyze workload distribution across team members Aging Report: - get_aging_report: Report aging items with urgency classification and recommendations These tools enable answering management questions like: - Are we delivering faster or slower? - Where is work piling up? - Who is overloaded? - What needs attention now? Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Document the 6 new analytics MCP tools in README: - Available Tools section with Analytics Tools table - Usage Examples with analytics-related questions - API Reference with Analytics DTOs documentation - Updated Project Structure with new files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Release 1.2.0 includes analytics tools for flow metrics, WIP analysis, and aging reports. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add analytics tools to transform the MCP server from a data access layer into an analytical and management tool. These tools enable answering strategic questions about delivery performance, bottlenecks, team
workload, and work health.
Type of Change
Related Issues
Closes #(analytics-feature)
Changes Made
get_flow_metricstool - calculates Lead Time, Cycle Time, and Throughput with statistical analysis (average, median, percentiles 85/95, std dev)compare_flow_metricstool - compares metrics between two periods to identify delivery trendsget_wip_analysistool - analyzes Work in Progress by state, area, and person with insightsget_bottleneckstool - identifies workflow bottlenecks with severity scores and actionable recommendationsget_team_workloadtool - analyzes workload distribution across team members (overloaded/balanced/has capacity)get_aging_reporttool - reports aging work items with urgency classification (Critical/High/Medium/Low) and specific recommendationsFlowMetricsDto.cswith DTOs for flow metrics, statistics, and throughput periodsWipAnalysisDto.cswith DTOs for WIP analysis, bottlenecks, and aging reportsAnalyticsTools.cswith all 6 MCP tool implementationsTesting
Test Results: 267 tests passing (22 new analytics tests added)
Checklist
Screenshots (if applicable)
N/A - Backend MCP tools
Additional Notes
New Analytics Capabilities
compare_flow_metricsget_bottlenecksget_team_workloadget_aging_reportget_flow_metricsget_wip_analysisKey Metrics Provided
Files Added
src/Viamus.Azure.Devops.Mcp.Server/
├── Models/
│ ├── FlowMetricsDto.cs (139 lines)
│ └── WipAnalysisDto.cs (254 lines)
└── Tools/
└── AnalyticsTools.cs (1,200+ lines)
tests/Viamus.Azure.Devops.Mcp.Server.Tests/Models/
├── FlowMetricsDtoTests.cs (180 lines)
└── WipAnalysisDtoTests.cs (280 lines)