Atlas / MCP servers / hyperb1iss / Lucidity

LuciditySAFE

mcp/hyperb1iss/lucidity

AI-powered code quality analysis using MCP to help AI assistants review code more effectively. Analyze git changes for complexity, security issues, and more through structured prompts.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio
License
Apache-2.0
Stars
90
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.python.org/downloads/) [](LICENSE) [](docs/plan.md) [](https://github.com/astral-sh/ruff) [](https://mypy.readthedocs.io/en/stable/)

Clarity in Code, Confidence in Creation

Lucidity is a Model Context Protocol (MCP) server designed to enhance the quality of AI-generated code through intelligent, prompt-based analysis. By providing structured guidance to AI coding assistants, Lucidity helps identify and address common quality issues, resulting in cleaner, more maintainable, and more robust code.

Before you commit, just ask Lucidity to analyze the changes instead of vibe-coding yourself into a nightmare hellscape! 😱 💥 🚫

💫 Features

  • 🔮 Comprehensive Issue Detection - Covers 10 critical quality dimensions from complexity to security vulnerabilities
  • 🔄 Contextual Analysis - Compares changes against original code to identify unintended modifications
  • 🌐 Language Agnostic - Works with any programming language the AI assistant understands
  • 🎯 Focused Analysis - Option to target specific issue types based on project needs
  • 📝 Structured Outputs - Guides AI to provide actionable feedback with clear recommendations
  • 🤖 MCP Integration - Seamless integration with Claude and other MCP-compatible AI assistants
  • 🪶 Lightweight Implementation - Simple server design with minimal dependencies
  • 🧩 Extensible Framework - Easy to add new issue types or refine analysis criteria
  • 🔀 Flexible Transport -
Read from source at commit 7cc25f37b84dOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add lucidity-mcp -- uvx lucidity-mcp
claude-desktop
{
  "mcpServers": {
    "lucidity-mcp": {
      "command": "uvx",
      "args": [
        "lucidity-mcp"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
analyze_changesreadPrepare git changes for analysis through MCP.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (2)

INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/llms-full.txt:3352
load_dotenv()  # load environment variables from .env
Why it matters. asks the agent to read credentials
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/llms-full.txt:4333
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 7cc25f37b84dfull audit observations/trust-audit/mcp-server/hyperb1iss__lucidity.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-077cc25f37b84dSAFEB89first audit
06

Questions

What is the Lucidity MCP server?

AI-powered code quality analysis using MCP to help AI assistants review code more effectively. Analyze git changes for complexity, security issues, and more through structured prompts.

What tools does Lucidity expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Lucidity safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Lucidity need?

No credential environment variables were found in its source, so it appears to need none.

How does Lucidity run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as lucidity-mcp.

How current is this page?

The grade is for one exact copy of the source (7cc25f37b84d), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement