Tenets
JSON →Offline MCP server that ranks & summarizes code using BM25, TF-IDF, embeddings & git signals; integrates with Cursor, Claude Desktop and Windsurf; privacy preserving.
Install
pip install tenets[mcp] Tools · 8
- distill Finds, ranks, and aggregates the most relevant code using NLP (BM25, TF-IDF, import centrality, git signals)
- rank Ranks files by importance using BM25, TF-IDF, ML embeddings, and git signals
- examine Examines and analyzes code context
- session_pin_folder Pins critical files per session for guaranteed inclusion
- session_* Session management tools for context aggregation
- tenet_* Tools for managing guiding principles (tenets) injection
- search_tools Searches available tools for on-demand discovery
- get_tool_schema Gets the schema for a specific tool for on-demand discovery
Links
★ 7 GitHub stars