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

niyam-context

v1.0.0

Published

Industrial-grade MCP server for strict context and UI rule enforcement.

Readme

niyam-context MCP Server

An industrial-grade Model Context Protocol (MCP) server for strict enforcement of UI consistency and architectural patterns.


Overview

niyam-context enables AI assistants to deeply analyze and understand your project's DNA. Instead of giving the model vague instructions, you use MCP tools to inject high-density, formatted system prompts directly into the model's context, ensuring strict adherence to your specific coding standards and architecture.

Disclaimer

IMPORTANT: These tools are for analysis and understanding. AI models can occasionally hallucinate or misinterpret instructions. Always verify outputs manually.

Features

  • 25 Specialized Analysis Tools: Covering architecture, data flow, security, and lifecycle.
  • Strict Execution Rules: Automated prompts that enforce "Master Prompt" methodology.
  • Dynamic Tool Registration: Modular architecture that loads templates from JSON/Markdown.
  • Deep Context Retention: Designed for high-density AI interactions.

Installation

  1. Clone the repository.
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

Connecting to AI Clients (Cursor, Claude Desktop, etc.)

Add the following to your MCP configuration:

"niyam-context": {
  "command": "npx",
  "args": ["-y", "niyam-context"]
}

Specialized Tool Catalog

| Tool | Focus | | :--- | :--- | | codebase_deep_analysis | Exhaustive architecture and workflow decoding. | | repository_structure_mapper | Complete folder hierarchy and responsibility mapping. | | data_flow_analyzer | Tracer for end-to-end data lifecycles. | | dependency_graph_builder | Relationship graph for internal and external modules. | | api_contract_extractor | Registry of endpoints and data schemas. | | database_schema_analyzer | ER pattern and constraint extraction. | | frontend_component_indexer | UI component inventory and usage patterns. | | backend_service_mapper | Service layer and logic boundary visualization. | | state_management_analyzer | Store structure and reactivity audit. | | env_config_detector | Runtime configuration and environment detection. | | coding_convention_detector | Naming and standard enforcement. | | architecture_pattern_identifier | MVC, Clean Architecture, or Hexagonal detection. | | reusable_snippet_finder | Logic archeology to find centralization opportunities. | | error_log_analyzer | Forensic log and stack trace correlation. | | test_coverage_analyzer | Mapping logic to verification deserts. | | performance_bottleneck_detector | Algorithmic and resource efficiency audit. | | security_risk_scanner | Vulnerability and secret exposure scanning. | | refactoring_suggestion_engine | Complexity and debt reduction roadmap. | | documentation_generator | Automatic intent-based guide generation. | | feature_impact_analyzer | Blast radius prediction for code changes. | | pr_diff_analyzer | Semantic diff analysis and technical rationale. | | change_risk_predictor | Stability and regression risk factor analysis. | | migration_planner | Roadmap for platform or library upgrades. | | ui_component_usage_tracker | Prop drilling and interaction ergonomics. | | dead_code_detector | Systematic technical debt cleanup. |

License

Distributed under the MIT License. See LICENSE for more information.


Built by Dhvanil Pansuriya for High-Speed Developer Workflows.

GitHub LinkedIn