New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@sensegrep/mcp

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sensegrep/mcp

MCP server exposing sensegrep's semantic + structural code search to AI agents, delivering smaller, more relevant context.

Source
npmnpm
Version
1.13.0
Version published
Weekly downloads
98
25.64%
Maintainers
1
Weekly downloads
 
Created
Source

@sensegrep/mcp

MCP server exposing sensegrep capabilities to AI coding assistants.

Install

npm install -g @sensegrep/mcp

MCP Configuration

{
  "mcpServers": {
    "sensegrep": {
      "command": "npx",
      "args": ["-y", "@sensegrep/mcp"]
    }
  }
}

Or with global install first:

npm install -g @sensegrep/mcp
{
  "mcpServers": {
    "sensegrep": {
      "command": "sensegrep-mcp"
    }
  }
}

Tools

Canonical tool names:

  • sensegrep_search
  • sensegrep_show
  • sensegrep_literal
  • sensegrep_context
  • sensegrep_survey
  • sensegrep_cluster
  • sensegrep_graph
  • sensegrep_index
  • sensegrep_detect_duplicates

Search returns compact result cards by default. Call sensegrep_show with a selected resultId, or set resultDetail to content/full, to expand only the evidence an agent needs. Results report the requested and actual retrieval mode, evidence universe, index snapshot, budgets, and warnings.

Legacy aliases are still accepted for compatibility:

  • sensegrep.search
  • sensegrep.index
  • sensegrep.detect_duplicates

Environment Variables

Common MCP/runtime variables:

  • SENSEGREP_ROOT - root directory to index/search
  • SENSEGREP_WATCH - watcher toggle (0, false, off, no disables)
  • SENSEGREP_PROVIDER - ollama, gemini, openai, or bedrock
  • SENSEGREP_EMBED_MODEL, SENSEGREP_EMBED_DIM
  • GEMINI_API_KEY / GOOGLE_API_KEY
  • SENSEGREP_OPENAI_API_KEY / FIREWORKS_API_KEY / OPENAI_API_KEY

For the complete and official list, see docs/mcp-setup.md in the repository.

Documentation

  • MCP setup: https://github.com/Stahldavid/sensegrep/blob/main/docs/mcp-setup.md
  • Repository: https://github.com/Stahldavid/sensegrep

Keywords

mcp

FAQs

Package last updated on 12 Jul 2026

Related posts