llm-context.py
llm-context streamlines the sharing of relevant project files with LLMs through intelligent selection and rule-based filtering.
The llm-context tool addresses the challenges of providing the right context in LLM conversations by enabling users to share project files instantly. It minimizes the friction of manually finding and copying relevant files, ensuring that the context provided is both focused and task-specific. With features like smart file selection and formatted context copying, users can efficiently manage their interactions with LLMs. Additionally, llm-context supports both human users and AI agents, offering commands for validating file selections and fetching specific files on demand. This flexibility allows for a seamless integration of context management into various workflows, enhancing productivity and ensuring that AI agents have access to the necessary information without overwhelming them with irrelevant data.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"llm-contextpy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-llm-contextpy"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions