mincontext MCP server

Use mincontext as a tool inside Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI client — no copy-pasting required.

Setup
$claude mcp add mincontext --scope user -- npx mincontext-mcp

Runs in your terminal alongside Claude Code. The --scope user flag makes it available across all your projects.

Requires Node.js 18+.

Tools
get_relevant_filesFind the minimum set of files needed for a task — works on local repos (auto-detects git root) and GitHub repos
set_groq_keySave your Groq API key — stored in the macOS keychain or ~/.cache/mincontext/ on other platforms
list_configShow current key status and saved per-repo LLM preferences

On the first call to any repo, you'll be prompted once to choose an LLM — the choice is saved and reused automatically.

LLM backends
groqFree cloud API — get a key at console.groq.com, no credit card required
ollamaRuns locally — auto-started and model auto-downloaded on first use, no account needed

Results are cached for 24 hours and persist across server restarts and AI client sessions.