context7
context7 mcp fetches the latest documentation and code examples directly into prompts, enhancing llm responses with accurate, version-specific information.
development
freemium
no coding required
Server Statistics
setup time
5 minutes
github stars
38,846
forks
1,944
watchers
39,162
open issues
109
contributors
100
last updated
yesterday
language: typescriptlicense: mitlast release: @upstash/context7-mcp@1.0.31 (November 28, 2025)
description
provides up-to-date code documentation for various programming prompts.
use cases
- generate code snippets for specific libraries.
- fetch up-to-date api documentation on demand.
- enhance llm responses with accurate coding information.
technical details
prerequisites
- node.js 18+
- api key from context7.com (optional for higher rate limits)
installation steps
- step 1: install node.js version 18 or higher.
- step 2: use the command 'npx -y @upstash/context7-mcp' to install.
- step 3: configure your mcp client with the provided settings.
configuration example
{"mcpServers": {"context7": {"type": "streamable-http", "url": "https://mcp.context7.com/mcp", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}}required accounts
github
context7
tags
llm
mcp
mcp-server
vibe-coding
documentation
code-examples
typescript
model-context-protocol