The fastest way to set up csp is the plugin, which registers the csp-search helper and, optionally, the MCP server. It ships for both Claude Code and Codex.
Claude Code installs the two halves as separate plugins, so you can skip the MCP server:
/plugin marketplace add pleaseai/claude-code-plugins
/plugin install csp@pleaseai # csp-search sub-agent + skill (CLI)
/plugin install csp-mcp@pleaseai # optional: the csp MCP serverIf you installed csp-mcp, restart Claude Code or run /mcp to confirm the csp server is connected.
codex plugin marketplace add pleaseai/claude-code-plugins
codex plugin add csp@pleaseaiWhat the plugins install
csp-searchhelper (csp): a dedicated sub-agent (agents/csp-search.md, Claude Code) and skill (skills/csp-search/SKILL.md, Claude Code and Codex) that runcsp searchandcsp find-relatedthrough the CLI with the right flags.- MCP server
csp(csp-mcpon Claude Code, bundled incspon Codex): exposes thesearchandfind_relatedtools, launched viabunx @pleaseai/csp mcp. Repos are cloned and indexed on demand; local paths are watched and re-indexed automatically.
Requirements
Bun 1.3.10+ must be on your PATH so bunx can launch the MCP server. Node.js 22+ also works via npx @pleaseai/csp mcp (edit the MCP config if you prefer npm). The csp-search helper calls the csp CLI, so a Homebrew install (brew install pleaseai/tap/csp) is enough if you skip the MCP server; otherwise it falls back to bunx @pleaseai/csp.
Customization
By default the MCP server indexes only code files. To also index documentation or config, append --content to the server args, for example ["@pleaseai/csp", "mcp", "--content", "all"]. A single tool call can also override this with its content argument (code, docs, config, or all).
Layout
plugins/csp carries both the Claude Code and Codex manifests; each harness reads its own and ignores the other. plugins/csp-mcp is Claude Code only.
| Claude Code | Codex | |
|---|---|---|
| Manifest | plugins/csp/.claude-plugin/plugin.json |
plugins/csp/.codex-plugin/plugin.json |
| MCP config | plugins/csp-mcp/.mcp.json (mcpServers) |
plugins/csp/.mcp.codex.json (mcp_servers) |
| Helper | agents/csp-search.md (sub-agent) and skills/csp-search/SKILL.md (skill) |
skills/csp-search/SKILL.md (skill) |
The plugin sources live at plugins/csp and plugins/csp-mcp in the repository.