Skip to main content

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)

Source distribution for swisper-prism-cli 0.17.0
File Size Uploaded
swisper_prism_cli-0.17.0.tar.gz 448.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swisper-prism-cli 0.17.0
File Interpreter ABI Platform
swisper_prism_cli-0.17.0-py3-none-any.whl Python 3 none any Details

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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page