GitWhy — The Context Layer for Git

Registre officiel Outils de développement

The shared AI context engine for git — save, search, and share the reasoning behind code changes.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package gitwhy-mcp
Claude Code
claude mcp add gitwhy-the-context-layer-for-git -e 'GITWHY_API_KEY=<your gitwhy_api_key>' -- npx -y gitwhy-mcp@0.7.9
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "gitwhy-the-context-layer-for-git": {
            "command": "npx",
            "args": [
                "-y",
                "gitwhy-mcp@0.7.9"
            ],
            "env": {
                "GITWHY_API_KEY": "<your gitwhy_api_key>"
            }
        }
    }
}

Variables d'environnement

  • GITWHY_API_KEY secret GitWhy API key for cloud sync, publish, and PR comment features. Not required for local-only context saving.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. GitWhy Agent Skills
  2. Install
  3. What's Included
  4. Prerequisites
  5. Links

GitWhy Agent Skills

Agent skills for GitWhy — save the reasoning, decisions, and trade-offs behind AI-generated code.

Install

npx skills add gitwhy-cli/gitwhy

Or install for a specific agent:

npx skills add gitwhy-cli/gitwhy --agent claude
npx skills add gitwhy-cli/gitwhy --agent cursor
npx skills add gitwhy-cli/gitwhy --agent codex

What's Included

gitwhy skill

Teaches your AI coding agent to save, retrieve, and search structured context linked to git commits. Works via MCP tools or CLI commands.

Trigger phrases:

  • "Save this session with GitWhy"
  • "What context do we have on authentication?"
  • "Show me the context tree"
  • "Post the context to the PR"

Prerequisites

Install the GitWhy CLI first:

curl -fsSL https://gitwhy.dev/install.sh | sh

Or via Homebrew:

brew install gitwhy-cli/tap/git-why

Then run setup:

git why setup

Questions fréquentes

Qu'est-ce que GitWhy — The Context Layer for Git ?

The shared AI context engine for git — save, search, and share the reasoning behind code changes.

Comment installer GitWhy — The Context Layer for Git ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add gitwhy-the-context-layer-for-git -e 'GITWHY_API_KEY=<your gitwhy_api_key>' -- npx -y gitwhy-mcp@0.7.9. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour GitWhy — The Context Layer for Git ?

Oui. Il attend GITWHY_API_KEY, à renseigner dans sa configuration.

GitWhy — The Context Layer for Git est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient GitWhy — The Context Layer for Git ?

Il est publié par gitwhy-cli. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.