Skip to content
Gemini CLI

hn mcp server for Gemini CLI

io.github.cyanheads/hn-mcp-server

Browse Hacker News feeds, threads, and user profiles with full-text search.

client:Gemini CLI transport:streamable-http runtime:npm tools:4

Install hn mcp server in Gemini CLI

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

{
  "mcpServers": {
    "hn-mcp-server": {
      "httpUrl": "https://hn.caseyjhand.com/mcp"
    }
  }
}

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

What Gemini CLI can do once it is connected

hn mcp server in other clients