MCP.so
Sign In

โœจ Lucidity MCP ๐Ÿ”

@hyperb1iss

About โœจ Lucidity MCP ๐Ÿ”

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.

Basic information

Category

Developer Tools

License

Apache-2.0

Runtime

python

Transports

stdio

Publisher

hyperb1iss

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "lucidity-mcp": {
      "command": "uv",
      "args": [
        "venv",
        ".venv"
      ]
    }
  }
}

Tools

1

Prepares git changes for analysis through MCP

Overview

What is โœจ Lucidity MCP ๐Ÿ”?

Lucidity is a Model Context Protocol (MCP) server that enhances AI-generated code quality through intelligent, prompt-based analysis. It provides structured guidance to AI coding assistants to identify common quality issues, resulting in cleaner and more maintainable code.

How to use โœจ Lucidity MCP ๐Ÿ”?

Install by cloning the repository, setting up a virtual environment with uv venv, and running uv sync. Start the server with lucidity-mcp using stdio transport for terminal use, or lucidity-mcp --transport sse --host 127.0.0.1 --port 6969 for network-based interaction. Connect an MCP-compatible AI assistant via the SSE URI sse://localhost:6969/sse and invoke the analyze_changes tool.

Key features of โœจ Lucidity MCP ๐Ÿ”

  • Comprehensive issue detection across 10 quality dimensions
  • Git-aware analysis directly from code changes
  • Language agnostic โ€“ works with any programming language
  • Flexible transport: stdio and SSE
  • Seamless integration with MCP-compatible AI assistants
  • Lightweight server with minimal dependencies

Use cases of โœจ Lucidity MCP ๐Ÿ”

  • Pre-commit code quality review of git changes
  • Identifying security vulnerabilities in code modifications
  • Ensuring code follows best practices and project conventions
  • Detecting unintended code deletion or hallucinated components
  • Assessing test coverage gaps in new features

FAQ from โœจ Lucidity MCP ๐Ÿ”

What transports does Lucidity support?

Lucidity supports stdio for terminal-based interaction and SSE for network-based communication.

What are the prerequisites?

Python 3.13 or higher, Git (for analyzing code changes), and UV package manager are required.

How does Lucidity analyze code?

It analyzes code changes from git diff across 10 quality dimensions including complexity, security, performance, and style inconsistencies.

Can I use it with any AI assistant?

It integrates with Claude and other MCP-compatible AI assistants via the analyze_changes tool.

How do I run Lucidity in SSE mode?

Start the server with `lucidity-mcp --transport sse --host 127.

Comments

More Developer Tools MCP servers