Code Summarizer MCPServer

nicobailon
GitHub
code summarizationdeveloper toolsMCP

Loading subscription status...

💡 Description

A command-line tool that summarizes code files in a specified directory using Gemini Flash 2.0. It allows for integration with LLM tools like Claude Desktop and Cursor AI.

📝 JSON Entries

{
  "mcpServers": [
    {
      "code-summarizer": {
        "env": {
          "GOOGLE_API_KEY": "your_api_key_here"
        },
        "args": [
          "-y",
          "your-path-to-code-summarizer/bin/code-summarizer.js",
          "server"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

Gemini Flash 2.0

Features

  • Recursively processes code files in a directory
  • Respects .gitignore rules
  • Skips irrelevant directories like node_modules
  • Sends summaries to a text file
  • Configurable detail level and summary length

💬 Example Queries

  • Can you summarize all JavaScript files in my project?
  • Please give me a high-level overview of my codebase.
  • Explain what the file 'src/config/config.ts' does.
  • Find all functions related to authentication in my code.