Skip to content
Gemini CLI

Document corpus for Gemini CLI

io.github.jorgell23-sys/markdown-document-search

Query a verified document collection: passages that answer a question, with their source.

client:Gemini CLI transport:stdio runtime:pypi

Install Document corpus in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "markdown-document-search": {
      "command": "uvx",
      "args": [
        "mdcx"
      ],
      "env": {
        "MDCX_FILE": "<MDCX_FILE>",
        "MDCX_KEY": "<MDCX_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Document corpus in other clients