Context7 Platform -- Up-to-date docs for AI agents
feat: update plugin version to 1.0.2 and add API key usage instructions in documentation (#2749)
Enes Gules75361160c7de
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 933b6f60..9a32fe78 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -8,7 +8,7 @@"name": "context7","source": "./plugins/claude/context7","description": "Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.",- "version": "1.0.1"+ "version": "1.0.2"}]}diff --git a/docs/clients/claude-code.mdx b/docs/clients/claude-code.mdxindex 7c92ff20..277b9986 100644--- a/docs/clients/claude-code.mdx+++ b/docs/clients/claude-code.mdx@@ -72,6 +72,21 @@ The plugin is available from the Context7 marketplace. Run these commands in ClaThis adds the Context7 marketplace and installs the plugin with skills, agents, and commands.+### Using Your API Key with the Plugin++Without an API key, the plugin connects anonymously and shares the anonymous rate limits. To use your own plan, create an API key in the [Context7 dashboard](https://context7.com/dashboard) and export it as an environment variable before launching Claude Code:++```bash+# e.g. in ~/.zshrc or ~/.bashrc+export CONTEXT7_API_KEY="your-api-key"+```++The plugin reads `CONTEXT7_API_KEY` from your environment automatically. Restart Claude Code after setting it, then confirm requests are counted against your plan in the [dashboard](https://context7.com/dashboard).++<Note>+If the variable is not set, the plugin still works — requests just go through the anonymous tier, which has lower rate limits.+</Note>+### Skills#### Documentation Lookup Skilldiff --git a/plugins/claude/context7/.mcp.json b/plugins/claude/context7/.mcp.jsonindex c5280c5f..38df3178 100644--- a/plugins/claude/context7/.mcp.json+++ b/plugins/claude/context7/.mcp.json@@ -2,7 +2,10 @@"mcpServers": {"context7": {"type": "http",- "url": "https://mcp.context7.com/mcp"+ "url": "https://mcp.context7.com/mcp",+ "headers": {+ "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY:-}"+ }}}}diff --git a/plugins/claude/context7/README.md b/plugins/claude/context7/README.mdindex 6847148f..32f77b24 100644--- a/plugins/claude/context7/README.md+++ b/plugins/claude/context7/README.md@@ -20,6 +20,17 @@ claude plugin marketplace add upstash/context7claude plugin install context7@context7-marketplace```+## API Key (Recommended)++Without an API key, the plugin connects anonymously and shares the anonymous rate limits. To use your own plan, create an API key in the [Context7 dashboard](https://context7.com/dashboard) and export it as an environment variable before launching Claude Code:++```bash+# e.g. in ~/.zshrc or ~/.bashrc+export CONTEXT7_API_KEY="your-api-key"+```++The plugin's MCP server configuration picks up `CONTEXT7_API_KEY` automatically. Restart Claude Code after setting it, then verify the key is being used by checking your usage in the [dashboard](https://context7.com/dashboard).+## Available Tools### resolve-library-id