1. Conduid
  2. Developer Tools
  3. Codebadger
MCP server · Developer Tools

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).

66Good

Scored 8 days ago · breakdown

About Codebadger

Codebadger is an MCP server published by qcri in the Developer Tools category: 🦡 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).

The repository has 175 stars and 24 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/qcri/codebadger

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Codebadger

Powered by Claude · Grounded in docs

I know everything about Codebadger. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.7.0-betav0.7.0-beta · 21 Aug 2026Feature + fix release. Added LLM-oriented MCP contracts. Stable response envelopes, bounded output metadata, pagination/truncation signals, machine-readable errors, recovery hints, and richer FastMCP schemas. LLM workflow documentation.…
v0.6.2-betav0.6.2-beta · 15 Jul 2026Feature + fix release. Added Rust frontend support (`rust2cpg`). Rust is now a supported language end-to-end. The Joern container base image moved from jammy (Ubuntu 22.04, glibc 2.35) to noble (24.04, glibc 2.39) — `rust2cpg`'s native…
v0.6.1-betav0.6.1-beta · 24 Jun 2026Patch release. Fixed Worker reachability. The compose host-port publish now keys off `MCP_PUBLISH_HOST` (default `127.0.0.1`, loopback-only) and `MCP_PORT`, which drives both the in-container listen port and the published host port. Pool…
v0.6.0-betav0.6.0-beta · 23 Jun 2026🦡 codebadger — v0.6.0-beta Agent-usability release on top of v0.5.1/v0.5.2-beta, driven by feedback from a large agent-run across ~70 C/C++ CVEs. The analysis primitives were already solid; this release closes the gaps that actually slowed…
v0.5.2-betav0.5.2-beta · 18 Jun 2026🔧 codebadger — v0.5.2-beta Feature + hardening release on top of v0.5.1-beta. Adds caller-supplied C/C++ build options (with auto include-detection), makes the CPG cache key correct for build options and remote branches, fixes two…

README

🦡 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}
}

README fetched from the repository yesterday. The original is authoritative.

Questions

About Codebadger

How do I install Codebadger?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codebadger safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codebadger still maintained?

Yes — the latest release is v0.7.0-beta (21 Aug 2026), and the last commit was a month ago. The repository has 175 stars.