About
Generate automated code reviews.
README
title: Code Analysis MCP emoji: 🧑💻 colorFrom: black colorTo: yellow sdk: gradio sdk_version: 5.32.0 app_file: src/app.py pinned: false license: apache-2.0 short_description: Automated code reviews for LLMs.
Code Analysis MCP Server
This project is a simple Gradio-based MCP server that provides two basic code analysis functionalities:
- Code Analysis Report: Generates a report with basic information about the provided code.
- Code Score: Provides a simple score for the provided code.
Setup and Running
Clone the repository.
Navigate to the project directory.
Install the required dependencies:
pip install -r requirements.txtRun the application:
python src/app.pyThe Gradio interface will be available at
http://127.0.0.1:7860/and MCP server will be avaible athttp://127.0.0.1:7860/gradio_api/mcp/sse.
Connecting to Cursor AI
To test the MCP server with Cursor AI, open Cursor Settings, navigate to the "MCP" tab, and click the "+ Add new global MCP server" button.
Add the following JSON configuration to the MCP settings file:
{
"mcpServers": {
"gradio": {
"url": "http://127.0.0.1:7860/gradio_api/mcp/sse"
}
}
}
- Save the file. You will now see an active MCP server named
gradiowith the toolsCode Analysis ReportandCode Score.
To test this MCP server, you can create a new chat in agent mode of the Cursor using (CTRL +T) and ask for a code analysis report (e.g., "analyze this Python code: print('hello')"). Cursor will ask for permission to run the MCP tool. Approve it.
Tools
Code Analysis Report
- Endpoint:
/predict - Description: Accepts a code string and returns a basic analysis report.
Code Score
- Endpoint:
/predict_1 - Description: Accepts a code string and returns a simple code score.
Installing Code Analyzer
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/kingabzpro/mcp-code-analyzerFAQ
Is Code Analyzer MCP free?
Yes, Code Analyzer MCP is free — one-click install via Unyly at no cost.
Does Code Analyzer need an API key?
No, Code Analyzer runs without API keys or environment variables.
Is Code Analyzer hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Code Analyzer in Claude Desktop, Claude Code or Cursor?
Open Code Analyzer on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Code Analyzer with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
