Modern TypeScript MCP server for AI-powered code search and querying with Greptile API
Most developer tooling work still happens through a UI a human drives. Greptile MCP MCP server moves it into the conversation instead. Modern TypeScript MCP server for AI-powered code search and querying with Greptile API.
A modern, TypeScript-powered MCP (Model Context Protocol) server that provides AI-powered code search and querying capabilities through the Greptile API. Built with the official MCP SDK and designed for seamless integration with AI tools like Claude Desktop, Continue, and other MCP-compatible clients.
The server publishes 2 tools. What each one is for:
Streaming — Real-time chunk deliveryPrerequisites — The Prerequisites tool exposed by this serverInstallation goes through your MCP client rather than a global install: point it at greptile-mcp-server on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: GREPTILE_API_KEY, GITHUB_TOKEN, GREPTILE_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
repo permissionsAmong the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Greptile MCP's toolset — Streaming, Prerequisites — is a fair guide to whether it matches your workflow. It is maintained by sosacrazy126; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Greptile MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Streaming | Real-time chunk delivery |
| Prerequisites | The Prerequisites tool exposed by this server. |
{
"mcpServers": {
"greptile": {
"command": "npx",
"args": ["-y", "greptile-mcp-server"],
"env": {
"GREPTILE_API_KEY": "your-value",
"GITHUB_TOKEN": "your-value",
"GREPTILE_BASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
repo permissions| Variable | Description | Required |
|---|---|---|
| GREPTILE_API_KEY | Credential the server authenticates with. | Yes |
| GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| GREPTILE_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.