Context7
Shanone’s Context7 integration gives your agent 3 tools for pulling current, version-accurate documentation and code snippets directly from library source — useful for avoiding outdated API knowledge baked into a model’s training data.Getting Started
1
Get a Context7 API Key
Sign up at context7.com and generate an API Key from your account.
2
Add it to Shanone
Open Integrations in the Shanone dashboard, select Context7, and paste in the API Key.
3
Retry your request
Once saved,
shanone_execute_tool calls for context7_* tools will succeed.Available Tools
Shanone provides 3 tools for Context7:Library Search & Documentation
Library Search & Documentation
context7_search_library, context7_get_docs, context7_get_code_snippetsCommon Use Cases
Accurate API usage
Pull the current signature/usage of a library function before writing code against it
Framework migrations
Fetch version-specific docs when upgrading a dependency to confirm breaking changes
Unfamiliar library onboarding
Search for a library and retrieve topic-filtered code snippets to learn its API quickly
Code review assistance
Cross-check a PR’s usage of a library against its actual documented behavior
Troubleshooting
context7_get_docs or context7_get_code_snippets returns a 404
context7_get_docs or context7_get_code_snippets returns a 404
The
library_id must come from context7_search_library first — Context7 library IDs follow a /owner/repo format and aren’t guessable from the package name alone.context7_get_code_snippets returns snippets for the wrong version
context7_get_code_snippets returns snippets for the wrong version
Pass an explicit
version parameter (e.g. v18.2.0) if you need snippets tied to a specific release; without it, Context7 returns snippets across all indexed versions.Requests fail with a rate limit error
Requests fail with a rate limit error
Context7’s free tier has a request-per-minute cap; space out calls or upgrade the plan on context7.com if you’re running high-volume documentation lookups.