Ripple-MCP

Ripple-MCP

A field-level semantic change impact analysis MCP server for Claude Code, enabling natural language queries to find affected code when modifying fields, strings, or functions across multiple languages.

Category
访问服务器

README

<div align="center">

Ripple-MCP

字段级语义变更影响分析 · Field-Level Semantic Change Impact Analysis

中文 · English

</div>


🇨🇳 中文

为什么需要 Ripple-MCP?

当你想分析「修改 machine.x/y 语义」或「把某字段类型从 INT 改为 VARCHAR」会影响哪些代码时,传统工具无法回答:

问题 示例
哪些地方直接读取了这个字段? obj.x / obj['x'] / obj.get('x')
哪些地方用了这个字符串值? "success" / "failed"
哪些地方调用了这个函数? get_eq_partition()
哪些文件导入了这个模块? from plogen_tools import ...
TypeScript / JavaScript 里哪些地方用了这个变量?
改了函数 X,哪些函数直接调用了它?

Ripple-MCP 把 Claude Code 的语义理解与 ripgrep / Python AST 的机械精确性结合,覆盖 codegraph 的所有盲区。


核心工具

工具 说明
scan_patterns 通用正则扫描,支持任意语言
analyze_python_ast 精准 Python AST 分析,区分属性访问 / 下标 / .get()
trace_callers 直接调用链追踪
generate_impact_report 语义变更影响的结构化 Markdown 报告
get_code_context 带上下文的代码片段提取

安装

环境要求: Python 3.10+

git clone https://github.com/0xYubo/Ripple-Mcp.git
cd Ripple-Mcp
pip install -e .

Claude Code 集成(MCP 配置):

{
  "mcpServers": {
    "field-impact": {
      "command": "python",
      "args": ["-m", "ripple_mcp"]
    }
  }
}

配置完成后,在对话中自然描述变更场景,Claude 会自动调度合适的工具完成分析。


与 codegraph 的关系

Ripple-MCP 不是 codegraph 的替代品,而是补充:

分析场景 codegraph Ripple-MCP
函数 / 类调用图
字段级读写追踪
字符串字面量匹配
枚举值引用追踪
类型注解分析
跨语言扫描(Python + TS/JS)

🇺🇸 English

Why Ripple-MCP?

When you want to analyze the impact of "changing machine.x/y semantics" or "converting a field type from INT to VARCHAR", traditional tools can't answer:

Question Example
Where is this field read directly? obj.x / obj['x'] / obj.get('x')
Where is this string value used? "success" / "failed"
What functions call this function? get_eq_partition()
Which files import this module? from plogen_tools import ...
Where is this variable used in TypeScript / JavaScript?
If function X changes, which callers are affected?

Ripple-MCP combines Claude Code's semantic understanding with the mechanical precision of ripgrep / Python AST, covering all blind spots left by codegraph.


Core Tools

Tool Description
scan_patterns Universal regex-based pattern matching across any language
analyze_python_ast Precise Python AST analysis — distinguishes attribute access, subscript, and .get()
trace_callers Direct function call chain tracking
generate_impact_report Structured Markdown report of semantic change impact
get_code_context Contextual code snippet retrieval with surrounding lines

Installation

Requirements: Python 3.10+

git clone https://github.com/0xYubo/Ripple-Mcp.git
cd Ripple-Mcp
pip install -e .

Claude Code Integration:

{
  "mcpServers": {
    "field-impact": {
      "command": "python",
      "args": ["-m", "ripple_mcp"]
    }
  }
}

Once integrated, describe your change scenario in natural language — Claude automatically orchestrates the appropriate tools.


Relationship with codegraph

Ripple-MCP is not a replacement for codegraph — it fills the gaps:

Scenario codegraph Ripple-MCP
Function / class call graph
Field-level read/write tracking
String literal matching
Enum value reference tracking
Type annotation analysis
Cross-language scan (Python + TS/JS)

License: MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选