Problem Description
I'm frustrated when I set supported Claude ENV variables like CLAUDE_CONFIG_DIR, but Context7 ignores it and installs everything into hard-coded home directory ~/.claude and ~/.claude.json.
This clutters the user's home directory and does not respect the XDG Base Directory Specification.
Proposed Solution
When the supported Claude ENV variables are set, Context7 should respect them, and install to that directory instead.
For example
export XDG_CONFIG_HOME="$HOME/.config"
export CLAUDE_CONFIG_DIR="$XDG_CONFIG_HOME/claude"
Then Context7 should install to the correct directory:
~/.config/claude/.claude.json
~/.config/claude/skills/context7-mcp
~/.config/claude/rules/context7.md
See all supported Claude ENV vars
https://code.claude.com/docs/en/env-vars
Alternatives Considered
No response
Priority
Blocking my usage
Additional Context
No response
Problem Description
I'm frustrated when I set supported Claude ENV variables like
CLAUDE_CONFIG_DIR, but Context7 ignores it and installs everything into hard-coded home directory~/.claudeand~/.claude.json.This clutters the user's home directory and does not respect the XDG Base Directory Specification.
Proposed Solution
When the supported Claude ENV variables are set, Context7 should respect them, and install to that directory instead.
For example
Then Context7 should install to the correct directory:
See all supported Claude ENV vars
https://code.claude.com/docs/en/env-vars
Alternatives Considered
No response
Priority
Blocking my usage
Additional Context
No response