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

thinker-mcp

v1.0.7

Published

MCP server that clarifies prompts, loads context, and chain-thinks before coding — giving AI assistants persistent project memory

Downloads

257

Readme

🧠 Thinker MCP

Think before you code. Thinker MCP is a Model Context Protocol server that gives AI coding assistants persistent project memory and structured reasoning.

Every prompt passes through 3 phases before the AI writes a single line of code:

Clarify → Context → Chain Think

✨ What It Does

| Problem | Thinker's Solution | |---|---| | AI forgets everything between sessions | Auto-maintained PROJECT_MAP + CHANGE_LOG | | Vague prompts → vague code | Ambiguity detection + clarifying questions | | Decisions get reversed accidentally | Decision memory across all sessions | | Changes break other files silently | Pre-change impact analysis | | No reasoning before coding | Forced step-by-step chain-of-thought |

🚀 Quick Start

Install (zero setup)

npx -y thinker-mcp

Configure Your IDE

Kiro (AWS).kiro/mcp.json:

{
  "mcpServers": {
    "thinker-mcp": {
      "command": "npx",
      "args": ["-y", "thinker-mcp"],
      "env": {
        "MCP_MODE": "balanced"
      }
    }
  }
}

Antigravity (Google).antigravity/mcp.json:

{
  "servers": [
    {
      "name": "thinker-mcp",
      "transport": "stdio",
      "command": "npx",
      "args": ["-y", "thinker-mcp"]
    }
  ]
}

First Use

  1. Open your project in your IDE
  2. Run: initialize_project tool with your project root path
  3. Thinker scans all files, creates .mcp-context/ folder
  4. Start coding! Every prompt now flows through Clarify → Context → Chain Think

🛠️ The 7 Tools

| Tool | Phase | What It Does | |---|---|---| | initialize_project | Setup | Scans project, creates context docs | | clarify_prompt | Phase 1 | Detects ambiguity, asks targeted questions | | load_context | Phase 2 | Loads relevant project history & decisions | | chain_solve | Phase 3 | Forces step-by-step reasoning before coding | | pre_change_impact | Safety | Analyzes what could break before changes | | update_docs | Post | Auto-updates PROJECT_MAP + CHANGE_LOG | | health_check | Maintenance | Verifies docs are fresh and in sync |

🎯 User Modes

| Mode | Who It's For | Behavior | |---|---|---| | 🟢 GUIDE | Beginners | Max questions, plain English, all warnings | | 🔵 BALANCED | Solo devs | Smart clarification, skip if clear | | 🔴 EXPERT | Seniors | Skip unless critical, deep tradeoff analysis | | 🟡 AUDIT | Teams | Track who prompted what, conflict detection |

📁 Context Documents

Thinker creates a .mcp-context/ folder in your project with:

  • PROJECT_MAP.md — What every file does, its exports, dependencies, and risk level
  • CHANGE_LOG.md — Every prompt, every decision, every file change (append-only)
  • SESSION_STATE.json — Current mode, prompt count, known answers
  • DECISIONS.md — Decision tracking (v1.1)
  • DANGER_ZONES.md — High-risk file tracking (v1.1)
  • TEAM_CONVENTIONS.md — Team coding conventions (v1.1)

🔧 Development

# Install dependencies
npm install

# Run in development
npm run dev

# Build for production
npm run build

# Start production server
npm start

📦 Publishing

npm run build
npm login
npm publish --access public

After publishing: npx -y thinker-mcp — zero setup, no global install.

License

MIT