Skip to content
PluginStats

@phren/cli weekly downloads statistics

By phren · npm · Claude Code

Knowledge layer for AI agents - CLI, MCP server, and data layer

View on npm Stale · Oct 18, 2026

@phren/cli has 3,486 recorded weekly downloads on npm, ranking #1225 of 2,391 tracked listings.

Weekly downloads
3,486
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1225
Among tracked npm listings

About @phren/cli

phren MCP server

MCP server that indexes your personal phren and exposes it to AI agents via full-text search.

On startup it walks your phren directory, reads all .md files, and builds an in-memory SQLite FTS5 index.

Periodic remote checks are off by default. Enable them with phren config pull-interval 60 to check shared Git stores every minute while running, coordinated across MCP clients using the same store. Changed refs are fetched and applied only as clean fast-forwards; dirty or diverged stores are deferred. Pulled changes refresh the index and existing managed skill/instruction mirrors. Configure this machine with phren config pull-interval 600 (ten minutes) or phren config pull-interval off. Periodic checks are disabled for project-local stores and the manual preset; existing lifecycle hooks are configured separately.

Public surface: 76 MCP implementation tools across 16 catalog modules (search, tasks, findings, notes, memory, data, graph, sessions, ops/review, skills, hooks, config, extraction).

Notable shipped capabilities:

  • finding lifecycle tools: supersede_finding, retract_finding, resolve_contradiction, get_contradictions
  • finding provenance: add_finding.source (human|agent|hook|extract|consolidation|unknown)
  • lightweight daily notes: CRUD in <project>/notes/YYYY-MM-DD.md, explicit search, and promotion to findings without automatic prompt injection
  • cross-session continuity: task checkpoints + session_history
  • finding impact scoring from injected-context outcomes
  • skill registry behavior: scope precedence, alias-collision handling, visibility gating, generated skill-manifest.json
  • lifecycle penalties: superseded 0.25×, retracted 0.1×, contradicted 0.4× confidence in retrieval
  • inactive findings stripped from FTS index (superseded/retracted findings cannot appear in search)
  • auto-tagging: findings without type tags are inferred from content at write time
  • session context diff: session_start reports new findings since last session
  • decay resistance: confirmed findings decay 3× slower when repeatedly useful

Install

npx @phren/cli init

This sets up phren without needing sudo or a global install. On Windows, use npm install -g @phren/cli if npx isn't available.

Or add manually to Claude Code:

claude mcp add phren -- phren ~/.phren

Environment variables

VariableDefaultDescription
PHREN_PATH~/.phrenPath to your phren instance
PHREN_PROFILE(none)Active profile name. When unset, phren uses machines.yaml when available and otherwise falls back to an unscoped view
PHREN_PULL_INTERVAL_SECONDS0 (off)Overrides the machine-local pull interval. Whole seconds from 30–86400, or 0/off to disable periodic MCP checks.
PHREN_ACTOROS user / envActor identity used in governance/audit RBAC checks

Tools

See docs/api-reference.md for the full API reference.

Integration model

  • Claude: full native lifecycle hooks (SessionStart, UserPromptSubmit, Stop, PostToolUse) + MCP
  • Copilot CLI / Cursor / Codex: MCP + generated hook config + session wrapper binaries

Governance and security highlights

  • RBAC uses .config/access-control.json and .runtime/access-control.local.json
  • Web UI binds loopback-only, uses per-run auth token, enforces CSRF for mutations, and sets CSP headers
  • Telemetry is opt-in only (phren config telemetry on) and stored locally in .runtime/telemetry.json
search_knowledge

Full-text search across all indexed markdown files with synonym expansion.

query: string              - FTS5 query (supports AND, OR, NOT, "phrase matching")
limit?: number             - Max results, 1-20, default 5
type?: string              - Filter: "claude", "findings", "reference", "summary", "task", "skill"
project?: string           - Filter to a specific project
tag?: string               - Filter findings by type tag: decision, pitfall, pattern, tradeoff, architecture, bug
since?: string             - Filter findings by date: "7d", "30d", "YYYY-MM", "YYYY-MM-DD"
status?: string            - Filter by lifecycle status: active, superseded, contradicted, stale, invalid_citation, retracted
include_history?: boolean  - Include superseded/retracted findings (default false)
synthesize?: boolean       - Generate a synthesis paragraph from top results using an LLM
get_project_summary

Returns a project's summary.md content, path to its AGENTS.md, and a list of indexed files.

name: string      - Project name (e.g. "my-app", "backend")
list_projects

Lists all projects in the active profile with a brief description and which docs exist.

No parameters.

How it works

  1. Reads PHREN_PATH (or defaults to ~/.phren)
  2. Resolves the active profile from PHREN_PROFILE, or from machines.yaml when the env var is unset
  3. If no active profile can be resolved yet, falls back to an unscoped view of top-level project directories
  4. Walks each project directory, reads .md files, classifies them by filename
  5. Builds an in-memory SQLite FTS5 index with Porter stemming
  6. Serves tools over stdio using the MCP protocol

File types are derived from filenames and directories: AGENTS.md -> "claude", summary.md -> "summary", FINDINGS.md -> "findings", tasks.md -> "task", files under notes/ -> "notes", files under reference/ -> "reference", files under skills/ -> "skill".

Development

cd ~/phren
npm install
npm run build    # Compile TypeScript
npm run dev      # Run with tsx (hot reload)
npm test         # Run all tests

Description from the npm listing.

  • claude
  • claude-code
  • mcp
  • memory
  • knowledge

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@phren/cli weekly downloads on npm, last 90 days: 3,486 weekly downloads as of Oct 18, 2026.@phren/cliWeekly downloads on npm · Last 90 days3,486downloads / week3.1K3.2K3.3K3.4K3.5K3.6K3.7K3.8K3.9KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
@phren/cli weekly downloads on npm, last 90 days: 3,486 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@phren/cli weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@phren/cliWeekly downloads growth on npm3,486downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@phren/cli weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@phren/cli npm ranking history: currently #1225 (by weekly downloads).@phren/clinpm ranking · by weekly downloads · Last 90 days#1225current rank#1223#1224#1225#1226#1227Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 21, 2026 – Oct 21, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
@phren/cli npm ranking history: currently #1225 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,195 shown · page 62, #15 (overall #1,235)
All npm: every listing in weekly downloads order

Listing placement

Claude Code279 listings · 14 pages · page 5, #11 (overall #91)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for @phren/cli
Date (UTC)Weekly downloadsChange vs. previous
3,486—

Similar npm Claude Code plugins

All 20 @phren/cli alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@phren/cli. First seen Oct 21, 2026; last successful collection Oct 21, 2026. See the methodology.