SCAST MCP server for static code analysis and visualization

SCAST MCP server for static code analysis and visualization

scast•bydavidkingzyb

SCAST is a static code analysis tool that exposes MCP tools to analyze code folders, generate diagrams, and retrieve source definitions.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Parses code into an AST and performs static analysis, then visualizes results using Mermaid and D3.
  • •The scast_analysis tool analyzes a folder path, generates UML diagrams, AST trees and Mermaid flowcharts, and returns a keyword list with class and method explanations plus a browser link.
  • •The scast_retriever tool searches a code folder by class, method or field names and returns the source code at each definition.
  • •Supports analyzing code in C#, JavaScript, Python, TypeScript, C and C++, with more languages possible through TreeSitter.

BEST FOR

  • •Developers who want AI assistants to explain and diagram an unfamiliar codebase.
  • •Answering code questions via a retrieval approach over analyzed source files.
  • •Producing UML diagrams and flowcharts of code for documentation or review.

ABOUT SCAST

SCAST MCP server for static code analysis and visualization is cataloged as an MCP server attributed to davidkingzyb. SCAST is a static code analysis tool that exposes MCP tools to analyze code folders, generate diagrams, and retrieve source definitions. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for SCAST MCP server for static code analysis and visualization are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does SCAST help answer user questions about code?

After analyzing a code directory, users can search by keywords like class, method or field names in the AST tree, and SCAST returns the source code at its definition to support a RAG approach.

Upstream README

View this exact version on GitHub

README.md · bf02996ceeec · Fetched 2026-11-13 09:44:18 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🔱SCAST

Static Code Analysis and Visualization

2026/3/6 by DKZ

English/中文

🔱SCAST is a programmatic tool that converts code into UML diagrams and flowcharts.

📽️watch video
📽️Tutorial
📽️MCP

support language

  • csharp
  • javascript
  • python
  • typescript
  • c
  • cpp
  • use TreeSitter you can find more language or customize your language.

The underlying principle involves leveraging a parser to parse the code into an Abstract Syntax Tree (AST), followed by static analysis, and finally utilizing Mermaid and D3 for visualization.

You can try it online or just download this repo and open SCAST.html with browser.
For Developers it can be deployed on servers using npm run server. Or use it as MCP server integrate it into your AI client.

scast_uml

MCP

mcp

  1. git clone https://github.com/davidkingzyb/SCAST.git download the source code.
  2. npm install
  3. config at your client
{
  "mcpServers": {
    "scast":{
      "command":"node",
      "args":[
        "/YOUR_INSTALL_DIR/SCAST/mcp/index.js",
        "/YOUR_WORKSPACE/",
        "C:\\Users\\DKZ\\OTHER_ALLOWED_DIR\\",
      ]
    }
  }
}

Tools

scast_analysis:

SCAST is a tool designed to assist users in analyzing and summarizing code through visualization. By simply providing the folder path where the code is located, SCAST can perform static analysis on the code, generating an AST tree to helping users understand the code structure and explain its functionality. Generate various visual charts such as UML diagrams, AST tree diagrams and Mermaid flowcharts. Finally return a keyword list containing all class and method names along with their functionality explanations, and include a link to allow users to view the chart details in their browser.

scast_retriever

SCAST is a tool that helps users analyze and summarize code and provides visualizations. You need to provide the file path of the source code folder. SCAST will perform static analysis on the source codes in the folder, generating an AST tree to help users understand the code structure and explain its functionality. After analyzing the code directory with SCAST, you can use keywords in the AST tree for searching, better answering user questions using a RAG method. This keyword can be a class name, method name, or field name. SCAST will find the source code at its definition and return it.

Ollama AI

install ollama first
see ai.js for more details

ollama

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for SCAST MCP server for static code analysis and visualization from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/scast)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools