
What is Sherpa
Sherpa is a versatile tool developed by CartographAI designed to be your friendly guide through any codebase. By leveraging the Model Context Protocol (MCP), Sherpa enables secure connections to various data sources, allowing users to interact with codebases in a highly intuitive manner. Whether you have a local project or a remote Git repository, Sherpa helps you understand and navigate the code by chatting with it directly. This open-source tool uses advanced language models to provide intelligent code analysis, supporting a variety of models like Anthropic's Claude Sonnet, Google's Gemini, and OpenAI's GPT models.
How to Use Sherpa
Using Sherpa is straightforward and user-friendly. Here's a step-by-step guide:
-
Start Sherpa: Open your terminal and run the command:
npx @cartographai/sherpa <path/to/your/project>
or
npx @cartographai/sherpa <git_url>
Replace
<path/to/your/project>
with the path to your local project or<git_url>
with the URL of a Git repository. This command launches a local server and opens the Sherpa web app in your browser. -
Configure API Keys: Once the web app is open, go to the settings panel to input your API keys for the language models you wish to use. This ensures Sherpa can access the right tools to assist you.
-
Interact with the Codebase: Begin chatting with Sherpa by asking questions about the codebase. You can inquire about specific files or the overall structure, and Sherpa will use its built-in tools to provide comprehensive answers.
Key Features of Sherpa
-
Intelligent Code Analysis: Sherpa smartly determines which files to read to ensure your queries are answered accurately. It examines the project structure and content to provide precise insights.
-
Multiple LLM Support: With support for multiple language models, Sherpa offers flexibility in how you interact with your codebase.
-
Privacy and Security: Sherpa operates fully locally, ensuring no data is sent to external servers. You bring your own API keys, maintaining complete privacy.
-
Interactive Chat Interface: The user-friendly web interface, built with SvelteKit, makes it easy to chat with Sherpa, view tools in use, and see the context provided to the language model.
-
Persistent Chat History: Your conversations are stored locally, allowing you to resume previous sessions effortlessly.
-
Secure Filesystem Access: Sherpa uses a secure MCP filesystem server to restrict file access to authorized directories only, preventing unauthorized data exposure.
-
Git Integration: Whether you're working with local files or remote repositories, Sherpa's Git support makes it adaptable to various development environments.
-
Open Source Accessibility: Being open source, Sherpa allows customization and extension for specific use cases, making it a flexible tool for developers.
Sherpa combines advanced technology with ease of use, making it a powerful companion for anyone looking to explore and understand complex codebases efficiently.
How to Use
To use the sherpa, follow these steps:
- Visit https://github.com/CartographAI/sherpa
- Follow the setup instructions to create an account (if required)
- Connect the MCP server to your Claude Desktop application
- Start using sherpa capabilities within your Claude conversations
Additional Information
Created
January 21, 2025
Company
Start building your own MCP Server
Interested in creating your own MCP Server? Check out the official documentation and resources.
Learn More