Codebadger

Developer tools

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

Your AI app calls the Codebadger MCP server, which does the developer tools work and sends the result back to the chat.

About Codebadger

Codebadger is a community MCP server from qcri, filed in our directory under developer tools. 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).

At a glance

Publisher
qcri (community)
Runs
See the README for setup
Written in
Python
License
GPL-3.0
GitHub stars
191

How to set up Codebadger

  1. Follow the install steps in the Codebadger README; it is written in Python, so have that toolchain ready.
  2. Check the Codebadger README for keys or settings; the registry lists none that Codebadger requires.
  3. Add Codebadger to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Codebadger tools to confirm the connection.
  5. Run one read-only task with Codebadger first, and keep your app asking before each tool call until the results look right.

Codebadger compared with similar servers

  • Deliberation by antonbabenko has fewer GitHub stars than Codebadger (191 against 191); both are community servers, and both run locally.
  • Code Assistant by stippi has fewer GitHub stars than Codebadger (191 against 191); both are community servers, and both run locally.
  • Flipper MCP2515 CANBUS by ElectronicCats has fewer GitHub stars than Codebadger (191 against 191); both are community servers, and both run locally.

Before you connect Codebadger

  • Give Codebadger its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Codebadger tool call until you trust what it does with them.
  • Treat text that Codebadger fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Codebadger on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Codebadger

How marketing and sales teams put Codebadger to work, by company size. Pick the size closest to yours and start Codebadger on one use case.

Small business

  • A small business with a developer can use Codebadger to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Codebadger to explain and fix a marketing site issue without context switching between tools.
  • Codebadger runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Codebadger to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Codebadger to keep scripts and automations documented and versioned as they change.
  • Start Codebadger on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Codebadger with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Codebadger so web and marketing engineering share one reviewed way of working with AI.
  • Codebadger is a community server, so have security review the code and pin a version before Codebadger touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Codebadger README

From qcri/codebadger on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

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

Questions about Codebadger

What is the Codebadger MCP server?

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). Codebadger is maintained by qcri on GitHub at qcri/codebadger, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Codebadger MCP server?

Codebadger doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (qcri/codebadger). Like most servers, Codebadger ends with a command or URL you paste into your AI app's MCP config.

Does Codebadger need an API key?

The registry lists no required keys for Codebadger. Check the Codebadger README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Codebadger an official MCP server?

No. Codebadger is a community server maintained by qcri. Community servers can be excellent; read the code and the open issues before you give Codebadger access to company data.

What license is Codebadger under?

Codebadger is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of Codebadger; the service it connects to has its own terms.