Ferret MCP: AI-Powered Knowledge Extraction for Any Codebase
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
Ferret MCP is an MCP server designed to extract comprehensive knowledge from any codebase, combining static analysis with AI-powered deep interpretation. It provides detailed insights into architecture, patterns, dependencies, and API surface, delivering a senior engineer's analysis in seconds. This tool integrates seamlessly with various MCP clients, offering both free static analysis and advanced AI-driven reports.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Ferret MCP is an innovative Model Context Protocol (MCP) server that revolutionizes how developers understand complex codebases. It's engineered to extract complete knowledge, covering everything from architecture and design patterns to dependencies and API surfaces. By combining robust static analysis with advanced AI interpretation, Ferret MCP provides a deep, expert-level understanding of any repository.
This powerful tool integrates effortlessly with popular MCP clients like Claude Code, Claude Desktop, and Cursor, allowing you to get a senior engineer's analysis of a repository in approximately 30 seconds for a minimal cost.
Why Use Ferret MCP & Key Benefits
Ferret MCP addresses the challenge of quickly grasping unfamiliar or complex codebases, offering a suite of features that enhance developer productivity and understanding:
- Comprehensive Codebase Understanding: Get a holistic view of a project's structure, logic, and underlying principles without manual deep dives.
- Dual Analysis Approach: Benefit from both free, no-LLM-required static analysis tools (e.g.,
scan,dependencies,architecture,patterns,api_surface,full_extraction) and powerful AI-powered insights. - AI-Powered Deep Dives: The
deeptool generates a 10-section Knowledge Extraction Report, offering an expert analysis that includes an Executive Summary, Architecture Deep Dive, Technology Stack & Rationale, Data & Control Flow, Design Patterns, API & Interface Contracts, Key Files Reading Guide, Strengths, Risks & Technical Debt, and Learning Takeaways. - Interactive Q&A: Use the
asktool to pose any question about a repository and receive answers grounded in the full codebase context. - Cost-Effective: AI-powered reports are highly affordable, costing around $0.09 per report when using models like Claude Haiku.
- Flexible LLM Integration: Configure Ferret MCP to work with various LLM providers, including Anthropic, OpenAI-compatible services, and local LLMs like Ollama.
Installation
Getting started with Ferret MCP is straightforward. You can install and run it with uvx without needing to clone the repository, or via pip.
Install & run with uvx (no clone needed)
uvx ferret-mcp
Or install with pip
pip install ferret-mcp
Examples
Ferret MCP is designed to work seamlessly with any MCP client. Here's how to set it up and enable its AI capabilities.
Claude Code Setup
To add Ferret MCP to Claude Code:
claude mcp add ferret -- uvx ferret-mcp
To enable AI-powered tools (deep, ask), set your API key:
claude mcp add ferret -e FERRET_LLM_API_KEY=sk-ant-... -- uvx ferret-mcp
Claude Desktop / Cursor / Any MCP Client
Add the following configuration to your MCP config file (e.g., claude_desktop_config.json, .cursor/mcp.json):
{
"mcpServers": {
"ferret": {
"command": "uvx",
"args": ["ferret-mcp"],
"env": {
"FERRET_LLM_API_KEY": "sk-ant-..."
}
}
}
}
Use with a Local LLM (Ollama)
Ferret MCP can also be configured to use local LLMs, such as those provided by Ollama:
claude mcp add ferret \
-e FERRET_LLM_PROVIDER=openai \
-e FERRET_LLM_BASE_URL=http://localhost:11434/v1 \
-e FERRET_LLM_MODEL=qwen3:8b \
-- uvx ferret-mcp
Links
- GitHub Repository: fabdendev/ferret-mcp
- PyPI: ferret-mcp
Related repositories
Similar repositories that may be relevant next.
Local LLM Linux Troubleshoot: An AI Agent for Linux Diagnostics
September 14, 2026
Local LLM Linux Troubleshoot is an AI-powered agent designed to diagnose and resolve issues on Linux systems. It leverages llama.cpp for local AI processing, offering system diagnostics, safe command execution, and support for Docker, CLI, and a web GUI. This tool provides a privacy-first approach to managing and troubleshooting your Linux environment.

OpenWorkProof: Verifiable Work Contracts for AI Agent Systems
September 13, 2026
OpenWorkProof is an open protocol designed to bring transparency and accountability to AI agent work. It establishes verifiable contracts for multi-agent systems, ensuring that tasks are authorized, executed within agreed scopes, and independently verifiable. This protocol addresses critical questions about authorization, execution evidence, and human acceptance in AI-driven workflows.

SkillSpector: NVIDIA's Security Scanner for AI Agent Skills
September 11, 2026
SkillSpector is a critical security scanner developed by NVIDIA for AI agent skills. It identifies vulnerabilities, malicious patterns, and various security risks, including prompt injection and data exfiltration, in skills for platforms like Claude Code, Codex, and MCP. This tool empowers developers and users to ensure the safety and integrity of AI agent environments before skill installation.

cc-polymath: Context-Efficient Skills for Claude Code Development
September 10, 2026
cc-polymath is an innovative GitHub repository offering a vast collection of atomic skills and workflows specifically designed for Claude Code. It addresses the challenge of providing comprehensive development knowledge without overwhelming the AI's context window. By employing a progressive discovery system, cc-polymath ensures context efficiency and high-quality skill access across a wide range of technical domains.
Source repository
Open the original repository on GitHub.