CodeQL icon

CodeQL

CreatedJordyZomer

Enables interaction with CodeQL through structured commands for tools and AI agents.

About

This project hosts a Model Context Protocol (MCP) server, acting as a wrapper for the CodeQL query server. It facilitates communication between CodeQL and external tools like Cursor or AI agents, enabling them to execute queries and access documentation through a structured command interface.

Key Features

  • Registers CodeQL databases
  • Locates predicate/class symbol positions
  • Decodes `.bqrs` files into JSON format
  • Runs full queries or quickly evaluates symbols
  • 55 GitHub stars

Use Cases

  • Enabling natural language interaction with CodeQL databases
  • Automating security vulnerability checks using AI agents
  • Integrating CodeQL analysis into AI-powered code editors