Search Stack Overflow from your terminal using the MCP protocol.
flo connects to the official Stack Overflow MCP server, searches for questions, and lets you browse answers interactively — all without leaving your terminal.
- Interactive REPL — type questions, get answers in a loop
- Arrow-key navigation — browse multiple answers with ↑↓ keys
- Beautiful rendering — syntax-highlighted code, styled output via glamour + lipgloss
- One-shot mode —
flo ask "your question"for quick lookups - Cross-platform — Linux, macOS, Windows (amd64 & arm64)
brew install ratnesh-maurya/tap/flogo install github.com/ratnesh-maurya/flo@latestDownload the latest binary from GitHub Releases.
- Node.js (for the
npxcommand) — flo usesmcp-remoteto connect to Stack Overflow's MCP server.
# macOS
brew install node
# Ubuntu/Debian
sudo apt install nodejs npmfloType your questions, browse answers with arrow keys, and keep going:
⚡ flo — Stack Overflow in your terminal
❓ Ask: how to reverse a string in go
# How to reverse a string in Go?
Score: 171 | Views: 178,411 | Answers: 39 | ✅ Answered
Select an answer (↑↓ navigate, Enter to view, Ctrl+C to go back)
▸ #1 by Jonathan Wright — A version which I think works on unicode...
#2 by user181548 — [Russ Cox, on the golang-nuts mailing list]...
#3 by Oliver Mason — **NOTE:** This answer is from 2009...
flo ask "how to center a div in css"| Command | Description |
|---|---|
flo |
Start interactive REPL |
flo ask "<query>" |
One-shot search |
flo --help |
Show help |
flo --version |
Show version |
| Key | Action |
|---|---|
↑ / ↓ |
Navigate answers |
Enter |
View selected answer |
Ctrl+C |
Back to answer list |
n |
Ask a new question |
q / quit / exit |
Exit flo |
- flo spawns
mcp-remoteas a subprocess - Connects to the official Stack Overflow MCP server at
mcp.stackoverflow.com - Sends search queries via JSON-RPC (
so_searchtool) - Parses the structured response and renders it with terminal styling
- On first run, opens a browser for Stack Overflow OAuth (token is cached)
git clone https://github.com/ratnesh-maurya/flo.git
cd flo
go build -o flo .
./floReleases are automated via GitHub Actions + GoReleaser:
git tag v1.0.0
git push origin v1.0.0This triggers the release workflow which builds cross-platform binaries and creates a GitHub Release.
MIT