web_search and web_fetch. That keeps its schema cost bounded. The broader MCP vs CLI tradeoff still matters when an agent session loads many MCP servers: tool schemas compete with task context, while CLI access is more progressive — the agent sees a short instruction, runs a command, and only then receives output.
Quick answer
For Claude Code and other coding agents with a shell, start with the CLI or the Caesar skill. For Cursor, Windsurf, and chat clients that already manage MCP servers, start with MCP.
What changes for the agent
CLI
The agent runs
caesar-search, reads stdout/stderr, checks exit codes, and can save JSON to files with -o.MCP
The client connects to Caesar’s remote server and exposes
web_search and web_fetch as structured tools.Use the CLI when
- The agent can run shell commands.
- You want a lean prompt: a short skill or instruction can teach the command without loading tool schemas into every turn.
- You want deterministic scripting behavior: exit codes, stderr error envelopes, and
--jsonoutput. - Large search results should be written to a file instead of pasted into the chat context.
- The workflow is part of CI, a local script, or a repeatable terminal task.
- You want the same commands a human can run and debug.
- You want to restrict the agent’s tool surface by documenting only the commands it should use.
Install the CLI
Install
caesar-search with Homebrew, npm, or the standalone installer.CLI usage
Search, read, feedback, JSON output, and exit codes.
Scripting and CI
Use
caesar-search in scripts, schedulers, and CI pipelines.Use MCP when
- The agent client already supports remote MCP tools.
- You want a no-binary setup for a chat or IDE assistant.
- The client should discover the available Caesar tools instead of being prompted with shell commands.
- Auth should live in the MCP client configuration.
- The workflow is interactive and only needs search and read.
- The agent does not have a shell, or shell access is intentionally disabled.
web_search and web_fetch. Feedback is REST, CLI, and SDK only.
Remote MCP server
Connect any MCP client to Caesar’s hosted streamable-HTTP server.
Use both when
Many agent setups benefit from both surfaces:- MCP for quick interactive search and read inside the client.
- CLI for scripted runs, saved JSON artifacts, and commands the agent can replay outside the chat.
- Skills for coding agents that need durable instructions about when to choose each path.