Semantic + structural code search MCP server for AI-native development.
Most developer tooling work still happens through a UI a human drives. Sensegrep MCP server moves it into the conversation instead. Semantic + structural code search MCP server for AI-native development.
sensegrep understands your code semantically. Instead of matching text patterns, it uses AI embeddings and tree-sitter AST parsing to find code by meaning - so you can search for "authentication logic" and actually find your auth functions, even if they never contain the word "authentication".
Configuration is passed through the environment: SENSEGREP_PROVIDER, GEMINI_API_KEY, SENSEGREP_OPENAI_API_KEY, SENSEGREP_OPENAI_BASE_URL, SENSEGREP_EMBED_MODEL, SENSEGREP_EMBED_DIM, SENSEGREP_OPENAI_BATCH_SIZE, AWS_REGION. 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.
@sensegrep/mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by Stahldavid; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
{
"mcpServers": {
"sensegrep": {
"command": "npx",
"args": ["-y", "@sensegrep/mcp"],
"env": {
"SENSEGREP_PROVIDER": "your-value",
"GEMINI_API_KEY": "your-value",
"SENSEGREP_OPENAI_API_KEY": "your-value",
"SENSEGREP_OPENAI_BASE_URL": "your-value",
"SENSEGREP_EMBED_MODEL": "your-value",
"SENSEGREP_EMBED_DIM": "your-value",
"SENSEGREP_OPENAI_BATCH_SIZE": "your-value",
"AWS_REGION": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SENSEGREP_PROVIDER | Configuration value read at startup. | Optional |
| GEMINI_API_KEY | Credential the server authenticates with. | Yes |
| SENSEGREP_OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| SENSEGREP_OPENAI_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| SENSEGREP_EMBED_MODEL | Configuration value read at startup. | Optional |
| SENSEGREP_EMBED_DIM | Configuration value read at startup. | Optional |
| SENSEGREP_OPENAI_BATCH_SIZE | Configuration value read at startup. | Optional |
| AWS_REGION | Configuration value read at startup. | Optional |
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.