Context7 Legacy banner
upstash upstash

Context7 Legacy

AI community

Description

Instant LLM Context for Agents and Developers

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Context7

NOTE: This repo will be moved to [https://github.com/upstash/context7-mcp](https://github.com/upstash/context7-mcp)

Instant LLM Context for AI Agents and Developers

[![Website](https://img.shields.io/badge/Website-context7.com-blue)](https://context7.com) [![MCP Server](https://img.shields.io/badge/MCP_Server-context7--mcp-green)](https://github.com/upstash/context7-mcp)


What is Context7?

Context7 is a robust platform designed to create, manage, and leverage context libraries for Large Language Models (LLMs), AI agents, and developers. It automatically pulls high-quality, targeted code snippets from documentation repositories, delivering them as ready-to-use context for AI systems. Built by the Upstash team, you can enjoy Context7 with confidence knowing it’s backed by proven expertise.

**Key Benefits:** ✅ **Precise Context:** Extracts clean, relevant snippets from up-to-date documentation ✅ **Focused Content:** Includes only code and descriptions—no fluff or filler ✅ **Free Tier:** Up to 50 queries per day for personal use at no cost ✅ **Broad Compatibility:** Works seamlessly with MCP servers (e.g., Cursor, Windsurf) ✅ **Fast Integration:** Generate library-specific context in minutes and embed Context7 links directly into your documentation


How It Works

Context7 transforms documentation into actionable context through a streamlined pipeline:

  1. **Document Parsing**: Supports a variety of formats:

    • Markdown (.md, .mdx)
    • Plain Text (.txt)
    • ReStructuredText (.rst)
    • Jupyter Notebooks (.ipynb)
  2. **Context Extraction**: Uses LLM models to pull code snippets and craft concise, descriptive metadata.

  3. **Embedding Generation**: Converts snippets and metadata into vector embeddings for fast, accurate retrieval.

  4. **Contextual Retrieval**: Delivers relevant code examples instantly via API or web interface.


Using Context7

Generate Context for Your Library

  1. Add your library to Cont