
nader0913/ocpp-rag 是从 https://github.com/nader0913/ocpp-rag. 导入的 MCP 服务器候选
概览
nader0913/ocpp-rag 是从 https://github.com/nader0913/ocpp-rag. 导入的 MCP 服务器候选
概述(AI 翻译)
MCP服务器为AI助手提供对电动汽车充电协议的深入了解。添加到Claude,询问有关OCPP 1.6、OCPP 2.0.1、插电、智能充电及相关标准的任何问题。
来自18个官方文档的3500+索引块,119个结构化用例,128个JSON模式和146个图形。
快速启动
克劳德·科德
克劳德桌面
在你的claude_desktop_config.json中添加:
地方发展
ChromaDB 索引在首次运行时自动建立(~30 秒)。
工具
| 工具 | 描述 |
|---|---|
search_ocpp |
跨18个文档进行语义搜索。按版本(1.6 / 2.0.1)或内容类型(use_case、requirements、json_schema、component_variable)进行筛选。 |
get_use_case |
检索任何用例的完整结构化细节(例如 B01、E02、K08),包括描述、演员、场景、需求和图形。 |
list_use_cases |
列出所有用例,可按OCPP版本和功能块筛选。 |
get_message_schema |
查找任何OCPP 2.0.1消息的JSON模式(例如BootNotificationRequest、TransactionEventResponse。 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
OCPP RAG
MCP server that gives AI assistants deep knowledge of EV charging protocols. Add it to Claude and ask anything about OCPP 1.6, OCPP 2.0.1, Plug & Charge, smart charging, and related standards.
3,500+ indexed chunks from 18 official documents, 119 structured use cases, 128 JSON schemas, and 146 figures.
Quick Start
Claude Code
claude mcp add ocpp-rag -- uvx --from git+https://github.com/nader0913/ocpp-rag python -m ocpp_rag.mcp_server
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ocpp-rag": {
"command": "uvx",
"args": ["--from", "git+https://github.com/nader0913/ocpp-rag", "python", "-m", "ocpp_rag.mcp_server"]
}
}
}
Local Development
git clone https://github.com/nader0913/ocpp-rag.git
cd ocpp-rag
uv sync
uv run python -m ocpp_rag.mcp_server
The ChromaDB index builds automatically on first run (~30 seconds).
Tools
| Tool | Description |
|---|---|
search_ocpp |
Semantic search across all 18 documents. Filter by version (1.6 / 2.0.1) or content type (use_case, requirements, json_schema, component_variable). |
get_use_case |
Retrieve full structured details for any use case (e.g. B01, E02, K08) including description, actors, scenario, requirements, and figures. |
list_use_cases |
List all use cases, filterable by OCPP version and functional block. |
get_message_schema |
Look up the JSON schema for any OCPP 2.0.1 message (e.g. BootNotificationRequest, TransactionEventResponse). |
get_component_variable |
Query device model components and variables from the OCPP 2.0.1 appendices. |
list_documents |
List all indexed documents with chunk counts. |
compare_versions |
Search a topic across OCPP 1.6 and 2.0.1 side by side. |
list_figures |
Browse the 146 OCPP 2.0.1 figures by title, optionally filtered by a search term. |
get_figure |
Retrieve a figure as a viewable image (sequence diagrams, topologies, PKI hierarchies) by number, filename, or title. |
What’s Inside
OCPP 2.0.1 (Edition 4)
- Part 0 - Introduction
- Part 1 - Architecture & Topology
- Part 2 - Specification (491 pages, 119 use cases across 16 functional blocks A-P)
- Part 2 - Appendices (device model: 82 components, 214 variables)
- Part 3 - JSON Schemas (128 message schemas)
- Part 4 - OCPP-J Specification (WebSocket/JSON transport)
- Part 5 - Certification Profiles
- Part 6 - Test Cases
- Errata (2026-04)
OCPP 1.6
- OCPP 1.6 Specification (24 operations)
- OCPP-J 1.6 Specification
Whitepapers & Guides
- Using ISO 15118 Plug & Charge with OCPP 1.6
- OCPP & California Pricing Requirements v3.1
- OCPP 1.6 Security Whitepaper (Edition 4)
- OCPP Security Operations Guide v1.0
- What is New in OCPP 2.0.1
- OCPP 2.Lite - OCPP for Resource-Constrained Devices v2
Figures
安装
uvx --from git+https://github.com/nader0913/ocpp-rag python -m ocpp_rag.mcp_server配置
{
"mcpServers": {
"ocpp-rag": {
"command": "uvx",
"args": ["--from", "git+https://github.com/nader0913/ocpp-rag", "python", "-m", "ocpp_rag.mcp_server"]
}
}
}