{"schemaVersion":1,"id":"avc-98-context7","name":"Context7","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/avc-98-context7/","officialUrl":"https://github.com/upstash/context7","isCatalog":false,"description":"Context7 supplies a coding agent with current library documentation and examples for the required version. Available through MCP, a CLI with skills, and an HTTP API.","tasks":["Clarify a current API signature","Get examples for a particular library version"],"categoryIds":["integrations","ai"],"subcategoryIds":["integrations.docs","ai.context"],"tags":["Context7","MCP","CLI"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"Free: 1000 API calls per month for public repositories; after blocking, 20 bonus calls per day are provided until reset.","paidUsage":"Pro at $10/seat per month includes 2000 calls, then $5/1000; private repositories and parsing are paid. Quotas apply separately to each seat and are not pooled between participants; private repository parsing is billed at $5 per million tokens on addition or update. Unlimited calls means paid overage, rather than unlimited use without extra charges.","license":"The public Context7 repository uses MIT: code may be used, modified, and distributed, including commercially, with copyright and permission notices retained in copies or substantial portions; code is provided without warranties. According to the README, the API backend, parsing engine, and crawler are closed source and are excluded from this repository. The hosted service and each documentation source have their own terms.","selectionGuide":{"purpose":"Clarify a current API signature","chooseWhen":["Clarify a current API signature","Get examples for a particular library version"],"considerInstead":["When choosing for this topic, compare Context7 with Microsoft Learn MCP + Microsoft Docs skills. A candidate to compare under the topic: Documentation through MCP. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare Context7 with OpenAI Docs MCP. A candidate to compare under the topic: Documentation through MCP. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["For the ctx7 CLI, the README requires Node.js 18+. MCP requires a compatible client, the URL https://mcp.context7.com/mcp, and supported authentication configuration; an API key is recommended for higher rate limits. The library name, required version, and precise question help select a document; do not send secrets in a lookup query."],"limitations":["Costs and limits of free use: Pro at $10/seat per month includes 2000 calls, then $5/1000; private repositories and parsing are paid. Quotas apply separately to each seat and are not pooled between participants; private repository parsing is billed at $5 per million tokens on addition or update. Unlimited calls means paid overage, rather than unlimited use without extra charges.","Terms of use: The public Context7 repository uses MIT: code may be used, modified, and distributed, including commercially, with copyright and permission notices retained in copies or substantial portions; code is provided without warranties. According to the README, the API backend, parsing engine, and crawler are closed source and are excluded from this repository. The hosted service and each documentation source have their own terms.","Index coverage does not guarantee every version or the correctness of every example; retrieved context does not replace code testing."],"faq":[{"question":"What can you use for free in Context7?","answer":"Free: 1000 API calls per month for public repositories; after blocking, 20 bonus calls per day are provided until reset."},{"question":"What additional costs might arise with Context7?","answer":"Pro at $10/seat per month includes 2000 calls, then $5/1000; private repositories and parsing are paid. Quotas apply separately to each seat and are not pooled between participants; private repository parsing is billed at $5 per million tokens on addition or update. Unlimited calls means paid overage, rather than unlimited use without extra charges."},{"question":"What terms of use matter for Context7?","answer":"The public Context7 repository uses MIT: code may be used, modified, and distributed, including commercially, with copyright and permission notices retained in copies or substantial portions; code is provided without warranties. According to the README, the API backend, parsing engine, and crawler are closed source and are excluded from this repository. The hosted service and each documentation source have their own terms."},{"question":"How do you get started with Context7?","answer":"For the task “Clarify a current API signature,” connect the server in a compatible MCP client and ask it to find the primary source for a specific question. If the name is ambiguous, first use resolve-library-id, then query-docs with the selected libraryId and your question; a known ID lets you skip matching. Read the discovered section and example in the context of the version; clarify conditions and the returned result. Include the installed version in the query and check that the example belongs to it; the alternative CLI route uses ctx7 library and ctx7 docs without MCP. Apply a minimal example in the project and check it in the usual way. Verify the source, actual arguments, and behavior with a small reproducible example: Context7 provides documentation, not execution of your code."},{"question":"What should you consider when choosing Context7?","answer":"Well suited to Codex MCP."},{"question":"Is MCP required for Context7?","answer":"No: the README also offers a CLI with skills. MCP provides a separate integration; an API key is recommended for higher limits. Check hosted-service quotas in its pricing table."},{"question":"Which tools does Context7 provide?","answer":"The README describes two MCP tools: resolve-library-id selects a library by name and question, and query-docs retrieves documentation using a libraryId and query. The equivalent CLI route is ctx7 library <name> <query>, then ctx7 docs <libraryId> <query>. Provide the exact version and check the selected source; retrieval does not guarantee a correct model answer."},{"question":"Can Pro members pool their unused quotas?","answer":"No: the pricing FAQ describes 2000 API calls for each seat. If one member makes 3000 calls and another makes none, the first member's overage is billed separately; the other's unused quota is not transferred. Search API and Context API consume one shared call quota per seat."},{"question":"Does a local MCP server mean Context7 is fully local?","answer":"No: the open MCP server code does not include the API backend, parser, or crawler. Running this code yourself does not automatically provide the closed hosted backend or free service calls. The Enterprise page describes a separate self-hosted deployment option whose terms must be agreed with the provider."},{"question":"What data does hosted Context7 receive during lookup?","answer":"The pricing FAQ states that the server receives the documentation search question and library name, rather than all code and chat history; the model is asked to omit private information. This is the provider's description; request safety should be checked in the selected client. Control the actual query and exclude API keys, passwords, and private code; separately account for your LLM provider's terms."}],"related":[{"id":"microsoft-learn-mcp","reason":"A candidate to compare under the topic: Documentation through MCP. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"openai-docs-mcp","reason":"A candidate to compare under the topic: Documentation through MCP. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/upstash/context7","https://context7.com/plans","https://raw.githubusercontent.com/upstash/context7/HEAD/README.md","https://raw.githubusercontent.com/upstash/context7/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["A precise task, the technology name, and the version of the API or library in use.","A small code fragment or error message that needs documentation."],"steps":["For the task “Clarify a current API signature,” connect the server in a compatible MCP client and ask it to find the primary source for a specific question. If the name is ambiguous, first use resolve-library-id, then query-docs with the selected libraryId and your question; a known ID lets you skip matching.","Read the discovered section and example in the context of the version; clarify conditions and the returned result. Include the installed version in the query and check that the example belongs to it; the alternative CLI route uses ctx7 library and ctx7 docs without MCP.","Apply a minimal example in the project and check it in the usual way. Verify the source, actual arguments, and behavior with a small reproducible example: Context7 provides documentation, not execution of your code."],"checks":["The answer uses official documentation for the required version, and the link supports the specific API being used.","Access to documentation is not treated as code execution or free calls to external models."],"goal":"Example workflow with Context7: Clarify a current API signature."},"sources":["https://github.com/upstash/context7","https://context7.com/plans","https://raw.githubusercontent.com/upstash/context7/HEAD/README.md","https://raw.githubusercontent.com/upstash/context7/HEAD/LICENSE"],"checkedAt":"2026-10-03","reviewScope":"Purpose and published terms were reviewed against the cited primary sources. This product page does not confirm execution or testing in every environment.","relatedIds":["openai-docs-mcp","microsoft-learn-mcp"],"dataVersion":"cbbe7123b47a5ae80983","type":"MCP","kind":"mcp","pricingNote":"Free: 1000 API calls per month for public repositories; after blocking, 20 bonus calls per day are provided until reset. Pro at $10/seat per month includes 2000 calls, then $5/1000; private repositories and parsing are paid. Quotas apply separately to each seat and are not pooled between participants; private repository parsing is billed at $5 per million tokens on addition or update. Unlimited calls means paid overage, rather than unlimited use without extra charges.","notes":"Specify the exact name, version, and Context7 library ID if needed. The README warns that indexed documentation has no guarantee of completeness, accuracy, or security; compare the response with the official source and installed package version.","labeledSources":[{"url":"https://github.com/upstash/context7","label":"Source code"},{"url":"https://context7.com/plans","label":"Pricing and limits"},{"url":"https://raw.githubusercontent.com/upstash/context7/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/upstash/context7/HEAD/LICENSE","label":"MIT code license and redistribution terms"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}