- Home
- MCP servers
- Greptile
Greptile
- javascript
7
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"sosacrazy126-greptile-mcp": {
"command": "npx",
"args": [
"greptile-mcp-server",
"--api-key",
"YOUR_API_KEY",
"--github-token",
"YOUR_GITHUB_TOKEN"
],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN",
"GREPTILE_API_KEY": "YOUR_API_KEY"
}
}
}
}You can run a zero-install MCP server powered by TypeScript that connects to the Greptile API to index and query code repositories. Use MCP clients to index repositories, ask natural language questions about code, and get AI-assisted insights across multiple projects with real-time streaming support.
How to use
Start the server using an MCP client, then index repositories you care about and perform natural language queries. You can query codebases to understand architecture, patterns, and implementation details. Use sessions to build context over time and compare approaches across multiple repositories.
How to install
Prerequisites you need before running the server:
- Node.js 18+ (for optimal performance)
- Greptile API Key from app.greptile.com
- GitHub Token with repo permissions for indexing
Available tools
greptile_help
Get comprehensive documentation and usage examples.
index_repository
Index a repository to make it searchable.
query_repository
Query repositories with natural language.
get_repository_info
Get information about indexed repositories.