code-summarizer
If you are the rightful owner of code-summarizer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Code Summarizer is a command-line tool that summarizes code files using Gemini Flash 2.0, with MCP server support for integration with LLM tools.
The Code Summarizer is a versatile command-line tool designed to process and summarize code files within a specified directory. It leverages the power of Gemini Flash 2.0 for generating concise summaries and integrates with various LLM tools through its Model Context Protocol (MCP) server. The tool respects `.gitignore` rules, skips irrelevant directories, and allows for configurable detail levels and summary lengths. It features secure API key management, authentication for MCP server endpoints, and a retry mechanism with exponential backoff for LLM calls. The modular design facilitates easy integration into other applications, and the tool supports a wide range of programming languages.
Features
- Recursively processes code files in a directory
- Summarizes code files using Gemini Flash 2.0
- MCP server for integration with LLM tools
- Secure API key management and authentication
- Retry mechanism with exponential backoff for LLM calls
Tools
summarize_file
Summarize a single file with options
summarize_directory
Summarize a directory with options
set_config
Update configuration options