cy

cyberchitta/llm-context.py

๐Ÿ ๐Ÿ  Share code context with LLMs via MCP or clipboard

#LLMs#code-sharing#MCP
Publishercyberchitta/llm-context.py
Submitted date4/19/2025

Overview

Title

LLM Context

How to Use

LLM Context helps developers inject relevant project content into Large Language Model (LLM) chat interfaces. It supports:

  • Direct LLM Integration: Works with Claude Desktop via the Model Context Protocol (MCP).
  • Clipboard Workflow: Copy and paste context into any LLM chat interface.
  • Command-Line Tools: Use commands like lc-init, lc-sel-files, and lc-context to generate and manage project context.

Key Features

  • Smart file selection using .gitignore patterns.
  • Rule-based profiles for different use cases.
  • Code navigation features like smart outlines and definition extraction.
  • Markdown + YAML-based configuration for flexible customization.
  • Supports both code repositories and text/markdown projects.

Use Cases

  • AI-Assisted Development: Quickly share project context with LLMs for debugging, refactoring, or documentation.
  • Persistent Context: Optimized for Claude Projects, Custom GPTs, and other interfaces with long-term memory.
  • Dynamic Updates: Sync latest code changes with LLMs using MCP or clipboard workflows.
  • Project Understanding: Generate outlines and extract implementations to help LLMs grasp complex codebases.

Visit More

View All