<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb" -->

---
title: Meet CodeDoc: The "Guardian Engine" Every Cursor User Needs
description: CodeDoc is an MCP server for Cursor that analyzes code changes against project-specific standards. It provides impact analysis to show dependencies affected by...
canonical: https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Meet CodeDoc: The "Guardian Engine" Every Cursor User Needs | daily.dev
og:description: CodeDoc is an MCP server for Cursor that analyzes code changes against project-specific standards. It provides impact analysis to show dependencies affected by...
og:url: https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb
og:image: https://api.daily.dev/og/posts/0hWuUXIqb.png
og:image:alt: Meet CodeDoc: The "Guardian Engine" Every Cursor User Needs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Meet CodeDoc: The "Guardian Engine" Every Cursor User Needs

**[Akshay Kumar](https://daily.dev/sources/bkm8s5erh)** · [@i_akshay07](https://daily.dev/i_akshay07) · 2 min read · 1 upvotes · 1 comments

## Summary

CodeDoc is an MCP server for Cursor that analyzes code changes against project-specific standards. It provides impact analysis to show dependencies affected by changes, architecture scoring based on SOLID principles, and security scanning for uncommitted files to detect leaked credentials and SQL injection risks. The tool focuses on enforcing custom coding principles by scanning local environments and prioritizing uncommitted changes to ensure new code matches existing codebase standards.

## Content

Stop Guessing. Start Engineering.

We’ve all been there: you ask an AI to refactor a function, it looks perfect, but then half your project breaks because of a hidden dependency. Or worse, you accidentally hardcode an API key that slips into your git push.

I built CodeDoc to solve this. It’s an MCP server for Cursor that transforms your sidebar into a Senior Architect.

> The "Why" Behind CodeDoc

I started this project because I was hitting a wall. My company provided access to Claude and GPT-4, but like most professional teams, we have very specific development rules and internal programming principles.

Even with powerful prompting, the AI often failed to follow our custom standards—especially when analyzing "dirty" uncommitted files. It would give me generic solutions that didn't match our architecture. I realized I didn't need a better prompt; I needed a tool with Total Project Awareness. That is why I built CodeDoc.

> How CodeDoc Solves the AI "Context Gap"

CodeDoc isn't just a wrapper; it’s a custom MCP bridge that forces the AI to look at your code through the lens of your project’s specific constraints.

* Impact Analyzer: Ask "What happens if I change this?" and get a full map of the "Blast Radius" across your entire repo.

* Architecture Scorecard: Get a 1-10 health score based on SOLID/OOPS principles with a path to a 10/10.

* Security Sentinel: A "Pre-Commit" scan that finds leaked tokens and SQLi risks specifically in your uncommitted changes.

* Continuous Evolution: We are shipping updates weekly. Phase 3 (Security & Impact) is live, and Phase 4 (Auto-Fixing) is in development.

> Why it’s different?

* Contextual Enforcement: It scans your local environment to ensure custom coding principles are actually followed, not just suggested.

* Dirty File Focus: It prioritizes uncommitted changes, ensuring new code matches the standards of the existing codebase.

* Hardcoded Wisdom: It transforms abstract rules into actionable "Guardian" checks.

I’m looking for early adopters to break it! Give it a spin on your most complex repo and let me know: What's the one "Guardian" rule your project is missing?

👉 Check it out on GitHub: akshay1018/mcp-codedoc

#Programming #AI #Productivity #OpenSource #Cursor #SoftwareArchitecture #coding #MCP

## Community discussion

Top comments from developers on daily.dev.

**@i\_akshay07** · 0 upvotes

> I'm the creator! I built CodeDoc to enforce custom project rules that generic AI often misses. If you have a specific security rule or health check you want added, drop it below—I'll include the best ones in next week's update! I am currently working on this and getting new updates weekly.
>
> Quick Install (Cursor Settings > Features > MCP):
>
> * Name: CodeDoc | Type: command
>
> * Command: uvx
>
> * Args: ["--refresh", "--from", "git+https://github.com/akshay1018/mcp-codedoc.git", "codedoc"]
>
> Try this: Ask @codedoc to "Check my uncommitted files for security leaks" or "Give me a health score for this...

## Similar posts on daily.dev

- [CodeGuardian: A Model Context Protocol Server for AI-Assisted Code Quality Analysis and Security Scanning](https://daily.dev/posts/codeguardian-a-model-context-protocol-server-for-ai-assisted-code-quality-analysis-and-security-sca-pheezdmkh) · InfoQ · 1 upvotes · 0 comments
- [Cursor 3: A much simpler, more powerful, agent-friendly Code Editor](https://daily.dev/posts/cursor-3-a-much-simpler-more-powerful-agent-friendly-code-editor-js459cezu) · Product Hunt · 3 upvotes · 0 comments
- [Meet the new Cursor · Cursor](https://daily.dev/posts/meet-the-new-cursor-cursor-xpopf2m2s) · Hacker News · 3 upvotes · 0 comments
- [NVIDIA commits 3x more code across 30,000 developers with Cursor](https://daily.dev/posts/nvidia-commits-3x-more-code-across-30-000-developers-with-cursor-1s4xqhe7b) · Cursor · 0 upvotes · 0 comments

---

Tags: [#ai-coding](https://daily.dev/tags/ai-coding), [#mcp](https://daily.dev/tags/mcp)

[View this post on daily.dev](https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb","headline":"Meet CodeDoc: The \"Guardian Engine\" Every Cursor User Needs","text":"CodeDoc is an MCP server for Cursor that analyzes code changes against project-specific standards. It provides impact analysis to show dependencies affected by changes, architecture scoring based on SOLID principles, and security scanning for uncommitted files to detect leaked credentials and SQL injection risks. The tool focuses on enforcing custom coding principles by scanning local environments and prioritizing uncommitted changes to ensure new code matches existing codebase standards.","url":"https://daily.dev/posts/meet-codedoc-the-guardian-engine-every-cursor-user-needs-0hwuuxiqb","datePublished":"2026-01-21T18:45:05.224Z","dateModified":"2026-10-14T02:26:14.731Z","author":{"@type":"Person","name":"Akshay Kumar","url":"https://daily.dev/i_akshay07","image":"https://avatars3.githubusercontent.com/u/62614172?v=4","description":"Engineer | Open-source Contributer | SAAS | Solution-Oriented ","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":50}},"image":"https://media.daily.dev/image/upload/s--Ut70kMUk--/f_auto/v1769021105/posts/0hWuUXIqb?_a=BAMAMiiu0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"comment":[{"@type":"Comment","text":"I’m the creator! I built CodeDoc to enforce custom project rules that generic AI often misses. If you have a specific security rule or health check you want added, drop it below—I’ll include the best ones in next week’s update! I am currently working on this and getting new updates weekly.\nQuick Install (Cursor Settings \u0026gt; Features \u0026gt; MCP):\n\n\nName: CodeDoc | Type: command\n\n\nCommand: uvx\n\n\nArgs: [“–refresh”, “–from”, “git+https://github.com/akshay1018/mcp-codedoc.git”, “codedoc”]\n\n\nTry this: Ask @codedoc to “Check my uncommitted files for security leaks” or “Give me a health score for this file.”","datePublished":"2026-01-21T18:47:47.559Z","url":"https://daily.dev/posts/0hWuUXIqb#c-KPxw4jU5i","author":{"@type":"Person","name":"Akshay Kumar","url":"https://daily.dev/i_akshay07","image":"https://avatars3.githubusercontent.com/u/62614172?v=4"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/bkm8s5erh","name":"Akshay Kumar"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Akshay Kumar","item":"https://daily.dev/sources/bkm8s5erh"},{"@type":"ListItem","position":3,"name":"Meet CodeDoc: The \"Guardian Engine\" Every Cursor User Needs"}]}
```

