PairOfCleats
by doublemover
Overview
A code intelligence platform for advanced indexing, semantic search, and static analysis of repositories, served via an API/Multi-Context Protocol (MCP) server.
Installation
node bin/pairofcleats.js mcp serveEnvironment Variables
- PAIROFCLEATS_API_TOKEN
- PAIROFCLEATS_UV_THREADPOOL_SIZE
- PAIROFCLEATS_EMBEDDINGS
Security Notes
The server explicitly notes a 'permissive CORS' policy by default in `tools/api/router.js`, which is a significant network security risk if the server is exposed beyond localhost. The application spawns external LSP tools (e.g., clangd, pyright) via `node:child_process.spawn`. While `shell: false` is often the default, this remains a potential vector if the command or arguments can be fully controlled by user configuration, allowing arbitrary code execution. Critical internal bugs (P0) related to regex compilation (`src/index/risk-rules.js`) and handling long lines (`src/index/risk.js`) could lead to denial-of-service (DoS) vulnerabilities if triggered by malicious input, although they are not directly exploitable for arbitrary code execution. Download mechanisms for models, dictionaries, and extensions (`tools/download-*.js`) include hash verification and archive safety checks, which is a good practice.
Similar Servers
chunkhound
Local-first codebase intelligence tool for AI assistants, extracting architecture, patterns, and institutional knowledge at any scale via Model Context Protocol (MCP).
codegraph-rust
Transforms codebases into a semantically searchable knowledge graph, enabling AI agents to reason about code relationships, architecture, and impact rather than just performing text-based searches.
codeweaver
Provides precise, AI-optimized code context and semantic search capabilities for AI agents to understand and work with codebases efficiently.
tenets
The Tenets MCP server provides intelligent, token-optimized code context and automatically injects guiding principles for AI coding assistants (like Claude Code, Cursor, Windsurf) to help them understand codebases better and maintain consistency.