gritql-mcp

johannhartmann/gritql-mcp

3.2

If you are the rightful owner of gritql-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The GritQL MCP Server is a local-only Python server that integrates the GritQL engine with MCP-compatible clients, enabling code searching and rewriting directly from your development environment.

Tools

Functions exposed to the LLM to take actions

library.search_patterns

Search the local Grit pattern library for patterns and workflows.

patterns.describe

Get detailed metadata for a specific pattern.

gritql.generate

Deterministically generate a GritQL query from a natural language problem description.

code.find

Find code in your workspace that matches a GritQL query or a named pattern.

code.dry_run

See a summary of the changes a rewrite pattern would make without applying them.

code.apply

Apply a GritQL rewrite directly to your codebase.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources