Tenets is a free, open-source MCP server that provides intelligent code context to AI coding assistants. It uses NLP analysis (BM25, TF-IDF, import graphs) to find and rank the most relevant code for any task — all running locally with no cloud APIs and no data leaving your machine.

Tenets is a free, open-source MCP server that provides intelligent code context to AI coding assistants. It uses NLP analysis (BM25, TF-IDF, import graphs) to find and rank the most relevant code for any task — all running locally with no cloud APIs and no data leaving your machine.
Tenets falls into the AI Code Context & MCP Server category. We tested it hands-on to evaluate its real-world performance, pricing value, and how it compares to alternatives in the space. Here's everything you need to know.
Multi-factor ranking using BM25, TF-IDF, AST analysis, import graphs, and Git history to find the most relevant code for any task
Native integration with Cursor, Claude Code, Windsurf, and VS Code via Model Context Protocol for seamless AI assistant enhancement
Define persistent rules that shape how AI understands your codebase — coding standards, architectural decisions, and team conventions
Cyclomatic complexity, cognitive complexity, Halstead metrics, maintainability indexing, and technical debt tracking
Everything runs on your machine. No cloud APIs, no data uploads, no telemetry. Your code stays completely private
SQLite-backed sessions that remember context across multiple AI interactions. Branch sessions to explore alternatives
Map and visualize import relationships, dependency trees, and module coupling to understand codebase architecture
Velocity tracking, hotspot analysis, contributor analytics, and development intelligence for engineering managers

Run 'pip install tenets[mcp]' for MCP server functionality. Use 'pip install tenets[all]' for ML and visualization features.
Add Tenets as an MCP server in Cursor, Claude Code, or VS Code. Point it at your project directory.
Create guiding principles that shape how AI interprets your codebase — coding standards, architecture patterns, and team conventions.
Your AI assistant now has intelligent, ranked code context for every task. Tenets automatically feeds the most relevant files and principles.
Tenets is completely free and open-source under the MIT license. No paid tiers exist or are planned.

MCP server focused on providing up-to-date library documentation for AI assistants
AI coding assistant with built-in codebase context and Git integration
Standardized protocol for sharing codebase context with AI tools
Enterprise code intelligence with AI assistant and codebase search

Tenets is exactly what the AI coding ecosystem needs: an intelligent, privacy-first context engine that makes every AI assistant smarter about your specific codebase. The multi-factor ranking (BM25, TF-IDF, import graphs, Git history) produces genuinely better context than simple file inclusion. The guiding principles feature is uniquely powerful — it lets you encode team knowledge and architectural decisions into persistent rules that shape every AI interaction. Being free and open-source removes any barrier to trying it. The only friction is the Python/pip requirement and initial setup. For any developer using AI coding assistants, Tenets is a must-install. Rating: 4.5/5
Visit the official Tenets website to get started
Yes, Tenets is completely free and open-source under the MIT license. There are no paid tiers, no usage limits, and no plans to add paid features. It will always be free.
No. Tenets runs 100% locally on your machine. No cloud APIs, no data uploads, no telemetry. Your codebase stays completely private.
Tenets integrates with Cursor, Claude Code (Claude Desktop), Windsurf, and VS Code via the Model Context Protocol (MCP). It also provides a CLI and Python library for custom integrations.
Tenets (guiding principles) are persistent rules you define that shape how AI interprets your codebase. They encode coding standards, architectural decisions, and team conventions so AI assistants follow your team's practices.
Tenets uses a multi-factor pipeline: BM25 and TF-IDF for text relevance, AST analysis for code structure, import graph analysis for dependency relationships, and Git history for change patterns. This produces higher-quality context than simple keyword matching.
Tenets runs as a background MCP server and is designed to be lightweight. Initial indexing may take a few minutes on large codebases, but subsequent queries are fast.
Yes, Tenets works with any programming language. It analyzes code structure, imports, and Git history regardless of the language. Python projects get additional benefits from the native AST analysis.
Install with pip: 'pip install tenets[mcp]' for MCP server functionality, or 'pip install tenets[all]' for all features including ML and visualization. Then configure it as an MCP server in your IDE.
Submit your favorite AI tools and we'll add them to our review queue.
Submit a Tool →
Subscribe to get weekly curated AI tool recommendations, exclusive deals, and early access to new tool reviews.
ai-coding
ai-coding
AI-powered Chrome extension that audits code flow, catches hallucinations in AI-generated code, and flags security vulnerabilities before they ship.
ai-coding
Updated March 2026 · 12 min read · By PopularAiTools.ai
ai-coding
Free open-source desktop app that dispatches 10+ AI coding agents simultaneously across isolated git branches. Supports Claude Code, Codex CLI, and Gemini CLI. Keyboard-first Electron app with diff review workflow and QR code mobile monitoring. macOS + Linux. MIT license.
Starting Claude Code from scratch in 2026? Install these 10 skills, plugins, and CLIs on day one — Codex CLI, Obsidian, Autoresearch, Firecrawl, Playwright, NotebookLM, Skill Creator, RAG-Anything, Google Workspace CLI, and awesome-design-md. Full install commands included.
We swapped 24 different AI models into Claude Code and ran identical tool-call tests on each. Here's the S-tier-to-D-tier ranking, real cost comparison, and the single best Claude Sonnet 4.6 alternative for 2026 — including the GLM 4.6 sleeper pick that matched Sonnet at 15% the cost.
Claude doesn't generate raster images natively, but in 2026 it's the smartest creative director on Earth — orchestrating Nano Banana 2, Sora 2, Runway, Higgsfield, Remotion, and VEED into a single ad-and-video factory. The full stack, the variant matrix trick, and how to build a YouTube Shorts factory.