cyberchitta/llm-context.py
by Various
Share code with LLMs via Model Context Protocol or clipboard. Rule-based customization enables easy switching between different tasks (like code review and documentation). Includes
MCP
cyberchitta/llm-context.py
Added 1 June 2026
Overview
Shares code with large language models via the Model Context Protocol or clipboard. Rule-based customization lets you switch between tasks like code review and documentation. Includes smart code outlining to improve context clarity.
Best for
Best for
Developers who regularly share code with LLMs for review, documentation, or refactoring tasks.
Use cases
- Send code snippets to an LLM for review without manual copy-paste
- Automatically tailor code context for different documentation requests
- Generate structured code outlines for LLM-based refactoring
How to use
Install
uv tool install "llm-context>=0.6.0" Tools exposed
lc-initlc-selectlc-contextlc-outlineslc-missinglc-previewlc-set-rule
Tested with
Claude Desktop, Claude Code
Example client config
{\n "mcpServers": {\n "llm-context": {\n "command": "uvx",\n "args": ["--from", "llm-context", "lc-mcp"]\n }\n }\n} Notes
Shares code with large language models via the Model Context Protocol or clipboard. Rule-based customization lets you switch between tasks like code review and documentation. Includes smart code outlining to improve context clarity.
301 stars on GitHub. Last updated 2026-05-27. Licensed Apache-2.0.
Use cases
- Send code snippets to an LLM for review without manual copy-paste
- Automatically tailor code context for different documentation requests
- Generate structured code outlines for LLM-based refactoring
Pros
- Supports multiple sharing methods (MCP and clipboard)
- Rule system makes task switching easy and repeatable
- Smart outlining reduces noise in the context sent to the LLM
Cons
- Requires Python runtime to use
- Rule configuration has a learning curve for new users
- Limited to code context sharing, not general file or data sharing
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Supports multiple sharing methods (MCP and clipboard)
- Rule system makes task switching easy and repeatable
- Smart outlining reduces noise in the context sent to the LLM
Cons
- Requires Python runtime to use
- Rule configuration has a learning curve for new users
- Limited to code context sharing, not general file or data sharing
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.