Context Generator icon

Context Generator

Generates context files from code, repositories, and web pages for AI language models.

About

Context Generator is a tool designed to provide AI language models like ChatGPT and Claude with the necessary context about your project. Instead of manually copying and pasting or explaining your codebase, it automatically builds organized context files from code files, GitHub repositories, Git commits, web pages, and plain text. It solves the problem of efficiently providing AI with the necessary context for better code refactoring, documentation generation, and seamless AI integration, allowing for more intelligent and easier AI conversations.

Key Features

  • Organizes content into well-structured markdown documents.
  • Gathers context from files, directories, GitHub repos, web pages, or plain text.
  • Applies modifiers to transform content (e.g., extracting PHP signatures).
  • 55 GitHub stars
  • Targets specific files through pattern matching, content search, size, or date filters.
  • Optionally serves context through an MCP server for direct AI access.

Use Cases

  • Code refactoring assistance with AI.
  • Codebase documentation generation.
  • Automated context updates for multiple iteration development with AI.
  • Seamless integration with Claude AI via MCP server.
Craft Better Prompts with AnyPrompt