Tenets is a free open‑source MCP server, Python library and CLI that builds intelligent, LLM-ready code context for AI coding assistants; it uses NLP and multi‑factor relevance scoring (BM25, TF‑IDF, import graphs and optional semantic embeddings) to analyze, rank and distill the most relevant files, auto-injects project "tenets" (guiding principles) into prompts, and offers session/stateful context management and summaries—all 100% local with native MCP support for Cursor, Claude and Windsurf so you can feed high‑signal, privacy-preserving context to LLMs, speed onboarding, reduce context drift, and enforce consistent AI-driven code guidance.

Tenets
A tool that builds code context (MCP server, Python library, CLI) to provide high-signal, privacy-preserving project context for AI coding assistants.

tenets.devOpen Source
Upvotes
4
Pricing
Open Source
Category
Generative Code
In the database since
Dec 2025
Overview
About Tenets
Newsletter
Tools like this change fast
New Generative Code tools launch every week — the newsletter keeps you ahead of what's worth trying.
AI news twice a week
Join 250,000+ readers getting the most important AI news and coolest tools every Wednesday and Friday.