[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-85140":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":11,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":9,"trendingCount":14,"starSnapshotCount":14,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},85140,"ocpp-rag","nader0913\u002Focpp-rag","nader0913","MCP server with RAG knowledge base for OCPP 1.6, OCPP 2.0.1, and EV charging standards",null,"Python",114,4,1,0,38.1,"Other",false,"main",true,[],"2026-06-15 10:04:48","# OCPP RAG\n\nMCP 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.\n\n3,500+ indexed chunks from 18 official documents, 119 structured use cases, 128 JSON schemas, and 146 figures.\n\n## Quick Start\n\n### Claude Code\n\n```bash\nclaude mcp add ocpp-rag -- uvx --from git+https:\u002F\u002Fgithub.com\u002Fnader0913\u002Focpp-rag python -m ocpp_rag.mcp_server\n```\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ocpp-rag\": {\n      \"command\": \"uvx\",\n      \"args\": [\"--from\", \"git+https:\u002F\u002Fgithub.com\u002Fnader0913\u002Focpp-rag\", \"python\", \"-m\", \"ocpp_rag.mcp_server\"]\n    }\n  }\n}\n```\n\n### Local Development\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fnader0913\u002Focpp-rag.git\ncd ocpp-rag\nuv sync\nuv run python -m ocpp_rag.mcp_server\n```\n\nThe ChromaDB index builds automatically on first run (~30 seconds).\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `search_ocpp` | Semantic search across all 18 documents. Filter by version (`1.6` \u002F `2.0.1`) or content type (`use_case`, `requirements`, `json_schema`, `component_variable`). |\n| `get_use_case` | Retrieve full structured details for any use case (e.g. `B01`, `E02`, `K08`) including description, actors, scenario, requirements, and figures. |\n| `list_use_cases` | List all use cases, filterable by OCPP version and functional block. |\n| `get_message_schema` | Look up the JSON schema for any OCPP 2.0.1 message (e.g. `BootNotificationRequest`, `TransactionEventResponse`). |\n| `get_component_variable` | Query device model components and variables from the OCPP 2.0.1 appendices. |\n| `list_documents` | List all indexed documents with chunk counts. |\n| `compare_versions` | Search a topic across OCPP 1.6 and 2.0.1 side by side. |\n| `list_figures` | Browse the 146 OCPP 2.0.1 figures by title, optionally filtered by a search term. |\n| `get_figure` | Retrieve a figure as a viewable image (sequence diagrams, topologies, PKI hierarchies) by number, filename, or title. |\n\n## What's Inside\n\n### OCPP 2.0.1 (Edition 4)\n\n- **Part 0** - Introduction\n- **Part 1** - Architecture & Topology\n- **Part 2** - Specification (491 pages, 119 use cases across 16 functional blocks A-P)\n- **Part 2** - Appendices (device model: 82 components, 214 variables)\n- **Part 3** - JSON Schemas (128 message schemas)\n- **Part 4** - OCPP-J Specification (WebSocket\u002FJSON transport)\n- **Part 5** - Certification Profiles\n- **Part 6** - Test Cases\n- **Errata** (2026-04)\n\n### OCPP 1.6\n\n- OCPP 1.6 Specification (24 operations)\n- OCPP-J 1.6 Specification\n\n### Whitepapers & Guides\n\n- Using ISO 15118 Plug & Charge with OCPP 1.6\n- OCPP & California Pricing Requirements v3.1\n- OCPP 1.6 Security Whitepaper (Edition 4)\n- OCPP Security Operations Guide v1.0\n- What is New in OCPP 2.0.1\n- OCPP 2.Lite - OCPP for Resource-Constrained Devices v2\n\n### Figures\n\n146 cleanly extracted diagrams from the OCPP 2.0.1 specification: sequence diagrams, state machines, topology diagrams, PKI hierarchies, and more. Browse them with `list_figures` and view any diagram inline with `get_figure` — use cases returned by `get_use_case` include the figure numbers they reference.\n\n## Data Structure\n\n```\nsrc\u002Focpp_rag\u002Fdata\u002F\n  ocpp201\u002F\n    use_cases\u002F       119 structured JSON files (A01.json - P02.json)\n    schemas\u002F         128 JSON schema files\n    blocks\u002F          16 functional block introductions\n    appendices\u002F      Device model components & variables\n    part0-6, errata  Chunked specification text\n  ocpp16\u002F\n    spec.json        OCPP 1.6 specification\n    j.json           OCPP-J 1.6\n  other\u002F\n    6 whitepaper JSON files\n  figures\u002F\n    146 PNG files + manifest\n```\n\nEach use case is stored as structured JSON with proper fields:\n\n```json\n{\n  \"name\": \"Cold Boot Charging Station\",\n  \"id\": \"B01\",\n  \"functional_block\": \"Provisioning\",\n  \"objective\": \"...\",\n  \"description\": \"...\",\n  \"actors\": [\"Charging Station\", \"CSMS\"],\n  \"scenario\": [\"1. The Charging Station is powered up.\", \"...\"],\n  \"prerequisites\": \"...\",\n  \"postconditions\": \"...\",\n  \"requirements\": [\n    {\"id\": \"B01.FR.01\", \"precondition\": \"...\", \"definition\": \"...\"}\n  ],\n  \"figures\": [\"fig10.png\"]\n}\n```\n\n## Example Queries\n\n- *\"How does cold boot work in OCPP 2.0.1? Show me the requirements.\"*\n- *\"What's the JSON schema for TransactionEventRequest?\"*\n- *\"Compare authorization between OCPP 1.6 and 2.0.1\"*\n- *\"List all Smart Charging use cases\"*\n- *\"What device model variables are available for the EVSE component?\"*\n- *\"How does Plug & Charge work with ISO 15118?\"*\n- *\"What are the California pricing requirements for OCPP?\"*\n- *\"What security profiles exist in OCPP 1.6?\"*\n\n## Configuration\n\nThe ChromaDB index is cached at `~\u002F.cache\u002Focpp-rag\u002Fchroma_db\u002F`. Override with:\n\n```bash\nexport OCPP_RAG_CACHE_DIR=\u002Fyour\u002Fpath\n```\n\n## License\n\nThis project is licensed under the [Polyform Noncommercial License 1.0.0](LICENSE).\n\n**Free** for personal use, research, education, non-profits, and government institutions.\n\n**Commercial use** requires a separate license. Contact [nader.business.mail@gmail.com](mailto:nader.business.mail@gmail.com) for commercial licensing.\n",2,"2026-06-15 02:30:07","CREATED_QUERY"]