Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swisper_prism_cli-0.16.0rc5.tar.gz (440.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swisper_prism_cli-0.16.0rc5-py3-none-any.whl (344.5 kB view details)

Uploaded Python 3

File details

Details for the file swisper_prism_cli-0.16.0rc5.tar.gz.

File metadata

  • Download URL: swisper_prism_cli-0.16.0rc5.tar.gz
  • Upload date:
  • Size: 440.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for swisper_prism_cli-0.16.0rc5.tar.gz
Algorithm Hash digest
SHA256 f126c5b59634b81d905cc55bcc71f437728423a12c55aa54c2af8e3a4c4c11e5
MD5 5cac86369cc4f64b1895179eb9f94e79
BLAKE2b-256 7d93737dd7b46a4c7737e50e3745a0c4b1954fcf1585ed16756107f5053e79e5

See more details on using hashes here.

File details

Details for the file swisper_prism_cli-0.16.0rc5-py3-none-any.whl.

File metadata

File hashes

Hashes for swisper_prism_cli-0.16.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 1cdfc2e07648ad021473f57b5545bc585dcb56fdbda9271f7ee00a4c30dfdefc
MD5 3f8e053db81a4cc1844a4f2b8c5bb273
BLAKE2b-256 a7d7c68f373eed18a3d937221fe029e0130bf43c464651011e2ba41a7eed1bdf

See more details on using hashes here.

Release history Release notifications | RSS feed

0.16.0

2 files

This release

0.16.0rc5 This release

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.6.0

2 files

0.5.0

2 files

0.1.0

2 files

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