swisper-prism-cli
prism — code-intelligence CLI for AI coding agents. Search, navigate, and reason about your codebase from the shell, with overlay-γ awareness for unpushed local edits.
Install
pip install --user swisper-prism-cli
Or with pipx (recommended on systems where pip --user is restricted):
pipx install swisper-prism-cli
Requires Python ≥ 3.11.
Auth
Generate a developer token at https://prism-console-swisper.web.app/settings, then either:
export PRISM_TOKEN="prism_<your-token>"
…or rely on ~/.claude.json:mcpServers.prism-hosted.headers.Authorization if you already have the Prism MCP server configured (the CLI piggybacks on that config).
Verify
prism ping
Expected: {"status": "ok", ...} plus a freshness timestamp.
Common commands
prism search "rate limit retry"
prism find-refs "User.save" --pretty
prism def "MyClass.handler"
prism prepare-edit "MyClass.handler"
prism module-map
prism --help
The --auto-overlay flag (default ON for editing-relevant subcommands) handles freshness for unpushed local edits — your dirty-file content flows into the query without a reindex.
Surfaces
| Tool | When |
|---|---|
prism CLI (this package) |
Coding agents — anything with shell access (Cursor, Claude Code, Windsurf, Codex, Devin, Antigravity) |
MCP server (prism-hosted in ~/.claude.json) |
Non-editing agents (chatbots like Claude Desktop) |
Both surfaces talk to the same gateway and use the same token.
Contributing (developers)
git clone https://github.com/Fintama/swisper_prism
cd swisper_prism/apps/prism-cli
uv pip install -e .
uv run python -m pytest tests/ -v
See CHANGELOG.md for release history.
Metadata
Release files for swisper-prism-cli 0.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swisper_prism_cli-0.17.0.tar.gz | 448.6 kB | Without provenance | Details for swisper_prism_cli-0.17.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swisper_prism_cli-0.17.0-py3-none-any.whl | Python 3 | none | any | Details for swisper_prism_cli-0.17.0-py3-none-any.whl |
Total release size: 795.6 kB
Release files / swisper_prism_cli-0.17.0.tar.gz
| Download URL | swisper_prism_cli-0.17.0.tar.gz |
|---|---|
| Size | 448.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25472e9a4549fc051e9d714e111dfbde2044037fc4a45f0528600a1a4f9beb64
|
|
BLAKE2b-256 checksum How to use checksums |
b1f032b3f46e9a8e43159316c287b16fb03f2385c0617aa6fc8cd79412faa9e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / swisper_prism_cli-0.17.0-py3-none-any.whl
| Download URL | swisper_prism_cli-0.17.0-py3-none-any.whl |
|---|---|
| Size | 347.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
603715db51118ba75193780abcdb0ad77ac3a328f97098c4f487d75b2b9a3f79
|
|
BLAKE2b-256 checksum How to use checksums |
bec17ea0d2ae2ba21e800ba189b98d973511d2588ddec94589655b4000d24277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for swisper-prism-cli 0.17.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.