Context7 Platform -- Up-to-date docs for AI agents
feat: enhance documentation with pricing, setup guides and navigation
enesgules6a7d482f381b
diff --git a/docs/adding-libraries.mdx b/docs/adding-libraries.mdxindex 91df50ce..a78cf534 100644--- a/docs/adding-libraries.mdx+++ b/docs/adding-libraries.mdx@@ -14,7 +14,10 @@ The fastest way to add a library is through our web interface:2. (Optional) Adjust folders and exclusions.3. Submit and let Context7 parse and index the documentation.-You'll receive an email notification when parsing finishes. You can also monitor progress from the library detail page (e.g., `context7.com/owner/repo`).++<Note>+For private repositories, see the [Private Repositories](/dashboard/private-repositories) guide. Requires a Pro or Enterprise plan.+</Note>## Advanced Configuration with `context7.json`diff --git a/docs/api-guide.mdx b/docs/api-guide.mdxindex 83cf5fd9..a81550c1 100644--- a/docs/api-guide.mdx+++ b/docs/api-guide.mdx@@ -11,7 +11,7 @@ All API requests require authentication using an API key. Include your API key iAuthorization: Bearer CONTEXT7_API_KEY```-Get your API key at [context7.com/dashboard](https://context7.com/dashboard).+Get your API key at [context7.com/dashboard](https://context7.com/dashboard). Learn more about [creating and managing API keys](/dashboard/api-keys).<Warning>Store your API key in an environment variable or secret manager. Rotate it if compromised.diff --git a/docs/dashboard/private-repositories.mdx b/docs/dashboard/private-repositories.mdxindex c53550a4..d7adcd6b 100644--- a/docs/dashboard/private-repositories.mdx+++ b/docs/dashboard/private-repositories.mdx@@ -55,16 +55,9 @@ This action is permanent. The repository will no longer be accessible via the AP## Permissions-Access to private repository management is restricted by role:+Access to private repository management is restricted by role. Only Owners and Admins can add, refresh, or remove private repositories. Developers can view repository documentation but cannot manage repositories.-| Action | Owner | Admin | Developer |-|--------|-------|-------|-----------|-| View repositories | ✓ | ✓ | ✓ |-| Add repositories | ✓ | ✓ | ✗ |-| Refresh repositories | ✓ | ✓ | ✗ |-| Remove repositories | ✓ | ✓ | ✗ |--Developers can view repository documentation but cannot manage repositories.+See [Team Management](/dashboard/team#roles) for the complete permissions table for all team roles.## Configurationdiff --git a/docs/installation.mdx b/docs/installation.mdxindex 473c21ed..d638e043 100644--- a/docs/installation.mdx+++ b/docs/installation.mdx@@ -19,6 +19,13 @@ The Server-Sent Events (SSE) transport protocol has been removed and is no longe</Warning>+## Recommended Setup++For most users, we recommend:++- **Remote Server** (HTTP) - Easier setup with no local dependencies+- **With API Key** - Higher rate limits and access to private repositories+## Quick Install### Via Smithery@@ -897,3 +904,11 @@ npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcpHaving trouble? Check our [Troubleshooting Guide](/troubleshooting) for common issues andsolutions.</Tip>++## Next Steps++Now that Context7 is installed:++- **Learn usage patterns** - See the [How-To Guides](/usage) to master Context7 features like auto-invoke, specific library IDs, and token control+- **Get an API key** - Visit the [Dashboard](https://context7.com/dashboard) to create an API key for higher rate limits and access to private repositories+- **Explore the API** - Read the [API Guide](/api-guide) for direct API integration and best practicesdiff --git a/docs/overview.mdx b/docs/overview.mdxindex e5084c7f..ba89d9f9 100644--- a/docs/overview.mdx+++ b/docs/overview.mdx@@ -34,3 +34,17 @@ Context7 grounds your LLM with up-to-date documentation, ensuring that it always- 3️⃣ Get working code with current APIsNo tab-switching, no hallucinated APIs that don't exist, no outdated code generation.++## Next Steps++<CardGroup cols={1}>+ <Card title="Install Context7" icon="download" href="/installation">+ Get set up in 2 minutes with your preferred AI coding assistant+ </Card>+ <Card title="Learn Best Practices" icon="book" href="/usage">+ Master Context7 features and usage patterns+ </Card>+ <Card title="Get an API Key" icon="key" href="https://context7.com/dashboard">+ Unlock higher rate limits and use yourprivate repositories+ </Card>+</CardGroup>diff --git a/docs/plans-pricing.mdx b/docs/plans-pricing.mdxindex 566d92ea..6ba00da9 100644--- a/docs/plans-pricing.mdx+++ b/docs/plans-pricing.mdx@@ -27,6 +27,48 @@ To change your plan, visit [context7.com/plans](https://context7.com/plans).| **Priority Features** | ✗ | ✗ | ✓ || **Custom SLA** | ✗ | ✗ | ✓ |+## Understanding Costs++### Free Plan++The Free plan is always **$0**. Perfect for individual developers using public libraries.++### Pro Plan++Pro plan costs consist of two components:++**1. Team Seats: $7 per member per month**++Each team member (Owner, Admin, or Developer) counts as one seat. Learn more about team roles in the [Team Management](/dashboard/team#roles) guide.++**Example**:+- 1 member (you): $7/month+- 4 members: $28/month++**2. Parse Tokens: $15 per 1M tokens**++Parse tokens are charged when adding or refreshing private repositories:+- **Adding a new private repo**: Charged for all parsed content+- **Refreshing a repo**: Only charged for new or changed content (cached pages are free)+- **Querying documentation**: Free (covered by seat cost)++**Example**:+- Add a 500K token private repo: $7.50 one-time+- Refresh with 100K tokens of changes: $1.50++See [Private Repositories](/dashboard/private-repositories) for setup instructions and [Usage Statistics](/dashboard/usage) to monitor your token usage.++**Total Monthly Cost = (Seats × $7) + Parse Token Charges**++**Example**:+- Team: 4 members = $28/month+- Parsing: 800K tokens this month = $12+- **Total: $40**++### Enterprise Plan++Custom pricing based on your needs. Contact us at [[email protected]](mailto:[email protected]) for details.+## Frequently Asked Questions### General Questionsdiff --git a/docs/usage.mdx b/docs/usage.mdxindex 162c8d2b..b481166c 100644--- a/docs/usage.mdx+++ b/docs/usage.mdx@@ -185,62 +185,19 @@ Lower token counts result in faster responses and lower costs.## Work with Private Repositories-Access your private documentation with Context7 Pro.+Add your private GitHub, GitLab, or Bitbucket repositories to make internal documentation available through Context7. Requires a Pro or Enterprise plan.-### Requirements+For complete instructions on adding, refreshing, and managing private repositories, see the [Private Repositories](/dashboard/private-repositories) guide.-- Pro plan ($7/seat/month)-- GitHub, GitLab, or Bitbucket account connection-- Repository access permissions--### Add a Private Repository--1. Go to [Dashboard → Libraries → Private Repositories](https://context7.com/dashboard)-2. Click **Add Private Repository**-3. Choose your source:- - **Connect Repository**: Link your GitHub, GitLab, or Bitbucket account- - **Upload OpenAPI Docs**: Upload your own OpenAPI documentation-4. Enter repository URL (if connecting a repository)-5. Authorize Context7 to access your repository-6. Configure folders and exclusions (optional)-7. Submit--### Cost--- **Adding**: $15 per 1M tokens parsed (one-time)-- **Refreshing**: Only pay for new/changed content-- **Querying**: Free (covered by seat cost)--See [Plans & Pricing](/plans-pricing#parse-token-pricing) for examples.+**Cost**: $15 per 1M tokens when parsing. See [Plans & Pricing](/plans-pricing) for details.## Set Up Team Collaboration-Share Context7 access with your team.--### Create a Team Project--1. Visit [Dashboard](https://context7.com/dashboard)-2. Click **Create Team Project**-3. Name your project--### Invite Team Members--1. Go to **Dashboard → Members**-2. Click **Invite Member**-3. Enter their email and select a role:- - **Owner**: Full control- - **Admin**: Manage team and settings- - **Developer**: API access only--Members will receive an email invitation.--### Manage API Keys+Share Context7 access with your team. Create a team, invite members with different roles (Owner, Admin, Developer), and manage permissions from your dashboard.-Each team member gets their own API key with independent rate limits (60 req/hour per member).+For complete instructions on creating teams, inviting members, and managing roles, see the [Team Management](/dashboard/team) guide.-You can regenerate keys from the Members tab if compromised.--Visit the [Dashboard](https://context7.com/dashboard) for team management details.+**Cost**: $7 per team member per month on Pro plan. See [Plans & Pricing](/plans-pricing) for details.## Refresh Library Documentation@@ -274,35 +231,9 @@ Authorization: Bearer YOUR_API_KEY## Monitor Usage-Track your Context7 usage and costs.--### View Statistics--Go to [Dashboard → Overview](https://context7.com/dashboard) to see:--- **Search requests**: Library searches-- **Query/fetch requests**: Documentation retrievals-- **Query tokens**: Tokens returned in responses-- **Parsing tokens**: Tokens processed when adding/refreshing--Stats reflect usage from the last 30 days.--### Understand Costs--**Free Plan**: Always $0--**Pro Plan**:--- **Seats**: $7/month × team members-- **Parse tokens**: $15 per 1M tokens (private repos only)--**Example**:--- 4 team members: $28/month-- Added 800K token private repo: $12 one-time-- Monthly total: $40+Track your API usage, parse tokens, and costs from the dashboard. View metrics for search requests, query tokens, parse tokens, and total monthly costs with detailed breakdowns.-Visit the [Dashboard](https://context7.com/dashboard) to monitor your usage and costs.+For complete details on usage statistics and cost calculations, see the [Usage Statistics](/dashboard/usage) guide.## Best Practices