npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gc-mcp/codeimpact

v1.0.4

Published

MCP Server for Code Impact Analysis - provides intelligent analysis of code changes and their impact across microservices architecture

Readme

Code Impact Analysis MCP Server

The Code Impact Analysis MCP Server automatically analyzes code changes and their impact across the microservices architecture, saving 30-60 minutes of manual dependency analysis per change. This server provides intelligent analysis of how code changes propagate through the system and suggests optimal testing and deployment strategies.

Features

  • Intelligent Change Classification: Automatically classifies code changes by type and impact scope
  • Dependency Analysis: Builds comprehensive dependency graphs across services
  • Impact Calculation: Calculates the impact of changes on affected services
  • Breaking Change Detection: Identifies potential breaking changes
  • Test Strategy Recommendations: Suggests optimal testing strategies
  • Deployment Order Optimization: Recommends optimal deployment sequences

Installation

npm install @gc-mcp/code-impact-analysis

Usage

As MCP Server

# Start the MCP server
npx mcp-code-impact start

# Or use the runner script
./run-mcp-server.sh

As CLI Tool

# Analyze specific files
npx mcp-code-impact analyze -f src/api/user.ts src/services/auth.ts

# Set analysis depth
npx mcp-code-impact analyze -f src/api/user.ts -d comprehensive

# Output in different format
npx mcp-code-impact analyze -f src/api/user.ts -o yaml

Configuration

Set the following environment variables:

# Analysis Configuration
IMPACT_ANALYSIS_DEPTH=deep
BREAKING_CHANGE_THRESHOLD=medium
TEST_RECOMMENDATION_CONFIDENCE=0.8

# Service Discovery
SERVICE_DISCOVERY_PATH=./platform
SHARED_LIBRARIES_PATH=./libs

# Caching
ENABLE_ANALYSIS_CACHE=true
CACHE_TTL_MINUTES=60

# Logging
LOG_LEVEL=info

MCP Tools

analyze_code_impact

Analyze the impact of code changes across the microservices architecture.

Parameters:

  • changed_files (required): List of changed file paths
  • change_context (optional): Context about the changes (branch, commit message, etc.)
  • analysis_depth (optional): Depth of analysis (shallow, deep, comprehensive)
  • include_dependencies (optional): Include indirect dependencies
  • focus_areas (optional): Focus on specific areas (api, database, etc.)

find_affected_services

Find all services affected by specific code changes.

Parameters:

  • changes (required): Array of change objects
  • include_dependencies (optional): Include indirect dependencies
  • impact_threshold (optional): Minimum impact level to include

suggest_test_strategy

Suggest optimal testing strategy based on code impact analysis.

Parameters:

  • impact_analysis (required): Result from analyze_code_impact
  • test_constraints (optional): Test execution constraints
  • team_preferences (optional): Team-specific preferences

detect_breaking_changes

Detect potential breaking changes in code modifications.

Parameters:

  • changes (required): Array of change objects
  • api_schemas (optional): Current API schemas
  • database_schemas (optional): Current database schemas
  • interface_contracts (optional): Service interface contracts

recommend_deployment_order

Recommend optimal deployment order based on service dependencies.

Parameters:

  • services (required): Services to be deployed
  • deployment_strategy (optional): Deployment strategy (rolling, blue_green, canary, recreate)
  • risk_tolerance (optional): Risk tolerance level
  • rollback_requirements (optional): Consider rollback requirements

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

# Lint code
npm run lint

# Fix linting issues
npm run lint:fix

Docker

# Build Docker image
npm run docker:build

# Run with Docker
npm run docker:run

# Stop Docker container
npm run docker:stop

# View Docker logs
npm run docker:logs

License

MIT