🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@paparats/cli

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paparats/cli

CLI for Paparats MCP - semantic code search with AST chunking, symbol graph, and vector search for AI coding assistants

Source
npmnpm
Version
2.4.6
Version published
Weekly downloads
1.3K
120.23%
Maintainers
1
Weekly downloads
 
Created
Source

@paparats/cli

CLI for Paparats MCP - semantic code search across repositories with AST-based chunking, symbol graph, and vector search. Designed for AI coding assistants (Claude Code, Cursor).

Features

  • AST-based code chunking via tree-sitter (10 languages) with regex fallback
  • Symbol graph - cross-chunk call/reference relationships
  • Vector search powered by Qdrant + llama-server (Jina Code Embeddings)
  • Git metadata - commit history and ticket references per chunk
  • Architectural memory - agent-maintained components / decisions (ADRs) / lessons learned with server-side similarity-gate deduplication (see main README)
  • Dual MCP endpoints - coding mode and support mode with different tool sets
  • Docker-based deployment - one command setup with Qdrant, embed server, and MCP server

Install

npm install -g @paparats/cli

Prerequisites

  • Docker + Docker Compose - runs Qdrant, embed server, and MCP server
  • Node.js >= 18

Quick Start

# 1. One-time setup: starts Docker containers, downloads embedding model (~1.6 GB)
paparats install

# 2. In your project directory
cd your-project
paparats init    # creates .paparats.yml config
paparats index   # index the codebase

# 3. Keep index in sync when files change
paparats watch

# 4. Connect your IDE (Cursor, Claude Code) to the MCP server

Install Modes

# Developer mode (default) - Docker stack + local project indexing
paparats install --mode developer

# With external Qdrant (skip Qdrant Docker container)
paparats install --qdrant-url http://your-qdrant:6333

# Server mode - full Docker stack with auto-indexer for multiple repos
paparats install --mode server --repos owner/repo1,owner/repo2

# Support mode - client-only setup, connects to existing server
paparats install --mode support --server http://your-server:9876

Commands

CommandDescription
paparats installSet up Docker containers and configure IDE
paparats initCreate .paparats.yml config in current project
paparats indexIndex the codebase (or reindex after changes)
paparats watchWatch for file changes and auto-reindex
paparats search <query>Search indexed code from terminal
paparats doctorCheck health of all services
paparats statusShow indexing status for current project

MCP Tools

Once connected, your AI assistant gets access to these tools:

Coding mode (/mcp): search_code, get_chunk, find_usages, health_check, reindex

Support mode (/support/mcp): all coding tools plus get_chunk_meta, search_changes, explain_feature, recent_changes, impact_analysis

Configuration

Project config lives in .paparats.yml:

project: my-project
group: my-group
language: [typescript]

indexing:
  paths: [src, lib]
  exclude: [node_modules, dist, '**/*.test.ts']

chunking:
  max_lines: 60
  overlap_lines: 5

metadata:
  service: my-service
  tags: [backend, api]
PackageDescription
@paparats/sharedShared utilities (path validation, gitignore, excludes)
ibaz/paparats-serverMCP server Docker image
ibaz/paparats-indexerAuto-indexer Docker image
ibaz/paparats-embedllama.cpp llama-server + llama-swap with pre-baked embedding models

Documentation

See the full documentation for detailed setup guides, architecture overview, and configuration reference.

License

MIT

Keywords

mcp

FAQs

Package last updated on 03 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts