Skip to content

Conversation

@adampiispanen
Copy link
Contributor

Add Context7 MCP Server

Adds Context7 API integration for up-to-date code documentation retrieval and developer assistance.

Features

  • Documentation Search - Search across thousands of libraries and frameworks
  • Code Examples - Get working code examples for specific use cases
  • API Reference - Detailed API documentation for functions and classes
  • Code Explanation - Understand code with line-by-line explanations
  • Troubleshooting - Get help with error messages and bugs
  • Best Practices - Learn recommended patterns and anti-patterns
  • Migration Guides - Upgrade between versions or switch libraries
  • Library Comparison - Compare different libraries for your use case
  • Changelog Access - View release notes and breaking changes
  • Supported Libraries - Browse all available libraries

Configuration

  • Authentication: Simple API key (no OAuth)
  • Transport: stdio
  • Health Check: Included
  • Resources: 256Mi memory, 250m CPU

Testing

Includes automated tests for:

  • Documentation search functionality
  • Supported libraries listing

Use Cases

Perfect for developers and AI agents who need:

  • Quick documentation lookup while coding
  • Working code examples
  • Understanding unfamiliar code
  • Troubleshooting errors with context
  • Learning best practices for libraries
  • Migration assistance between versions

Supported

Context7 provides documentation for:

  • Languages: JavaScript/TypeScript, Python, Go, Rust, Java, C#, PHP, Ruby, Swift, Kotlin
  • Frameworks: React, Vue, Angular, Express, Django, FastAPI, Next.js, and hundreds more

Documentation

  • Comprehensive README with usage examples
  • All 11 tools fully documented
  • Links to Context7 documentation

Validation

✅ All validations pass: npm run validate-servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants