MCP server de codebadger
Commit 31 ago 2026Lets an AI client build Joern Code Property Graphs from repositories and run CPGQL queries to trace data flow and find vulnerabilities.
También conocido como qcri/codebadger
- Stars
- 181
- Herramientas
- —
- Descargas, 30 días
- —
- Última versión
- —
- Último commit
- 31 ago 2026
- Licencia
- GPL-3.0
¿Qué es codebadger MCP?
codebadger es un MCP server. Lets an AI client build Joern Code Property Graphs from repositories and run CPGQL queries to trace data flow and find vulnerabilities.
Resumen generado a partir del README del proyecto
Verificaciones automáticas
Ejecutado 15 nov 2026Informe completo →Aún no verificado. Un servidor necesita una puntuación de 80, ningún hallazgo grave y suficientes datos para que podamos revisarlo. Cómo funcionan las verificaciones · Qué corregir para obtener más puntos
- Repositorio de origen vinculado y accesibleqcri/codebadger is public and reachablegithub.com/qcri/codebadger ↗Aprobado
- El paquete indica este repositorio como su origenNo verificado
- Procedencia de la compilación (atestación de Sigstore)No verificado
- Licencia de código abierto (OSI)GPL-3.0spdx.org/licenses/GPL-3.0.html ↗Aprobado
- Commit o lanzamiento en el último añoLast commit or release 2026-08-31github.com/qcri/codebadger ↗Aprobado
- OpenSSF ScorecardNo verificado
- El nombre del paquete no es similar a un paquete popularNo verificado
- No hay avisos críticos en el paquete ni en sus dependenciasNo verificado
- Sin instrucciones ocultas para el modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersAprobado
- Las herramientas destructivas están etiquetadasNo verificado
- El endpoint remoto responde al handshake de MCPNo verificado
README
Ver en GitHub🦡 codebadger
codebadger is a containerized Model Context Protocol (MCP) server that gives AI agents and LLMs deep, queryable access to a codebase's structure and data flow through Joern Code Property Graphs (CPGs).
Point it at a Git repository, a local path, or even a pasted code snippet, and codebadger builds a CPG and exposes it over MCP — so an assistant can run CPGQL queries, trace data flow and taint, slice programs, and hunt for vulnerabilities across Java, C/C++, JavaScript, Python, Go, Kotlin, C#, Ghidra, Jimple, PHP, Ruby, and Swift.
It's a general-purpose foundation for both program analysis (understanding code structure, call graphs, and data flow) and vulnerability analysis (taint tracking, bug hunting, and PoC development) — useful for academic research as well as industry security and engineering work. It's built to scale to large analysis batches with per-CPG worker pools, memory-aware scheduling, and a Postgres/Redis backend.
News
codebadger and its paper - Bridging Code Property Graphs and Language Models for Program Analysis - were accepted at the Software Vulnerability Management Workshop @ ICSE 2026. 🎉
Documentation
Everything a developer or security researcher needs lives in docs/:
| Doc | What's in it |
|---|---|
| Installation | Prerequisites and a 5-minute local setup. |
| Usage | Connecting MCP clients, the tool catalog, and a researcher workflow. |
| LLM workflow guide | Recommended bounded tool sequence for agents. |
| Available Tools | Every MCP tool by category, with a description of what each does. |
| Configuration | config.yaml / env reference, telemetry. |
| Deployment | Postgres/Redis, memory sizing, shared vs pool, large batches. |
| Architecture | System design and diagrams. |
| Security | Threat model, trust boundaries, and production hardening. |
| Custom Tools | Add your own detectors. |
| Contributing | Dev setup, tests, and guidelines. |
| Roadmap | What's shipped and what's next. |
Found a vulnerability using codebadger?
We'd love to hear about it - open a PR adding it to TROPHIES.md (CVE ID, project, one-line description, date).
Citation
@inproceedings{lekssays2026bridging,
title={Bridging Code Property Graphs and Language Models for Program Analysis},
author={Lekssays, Ahmed},
booktitle={Proceedings of the 2026 IEEE/ACM 4th International Workshop on Software Vulnerability Management},
pages={33--40},
year={2026}
}
Preguntas sobre codebadger MCP
What languages does codebadger support for code analysis?
It analyzes Java, C/C++, JavaScript, Python, Go, Kotlin, C#, Ghidra, Jimple, PHP, Ruby, and Swift code through Joern CPGs.
What can an AI agent do with codebadger tools?
Agents can run CPGQL queries, trace data flow and taint, slice programs, and search for vulnerabilities.
What inputs can codebadger build a CPG from?
It can take a Git repository, a local path, or a pasted code snippet as input to build a CPG.
Does codebadger support large analysis batches?
Yes, it uses per-CPG worker pools, memory-aware scheduling, and a Postgres/Redis backend to scale.
Where is codebadger documented?
Installation, usage, tools, configuration, deployment, and other guides are in the docs/ directory.