Context7
UpstashServes version-specific documentation for thousands of libraries, so an agent stops writing code against an API that changed two releases ago
Serves version-specific documentation for thousands of libraries, so an agent stops writing code against an API that changed two releases ago On the other side: serves current mastra documentation, changelogs, and examples to the agent, which is the difference between working code and plausible code when a framework ships weekly
Mastra if you write Mastra; Context7 for everything else.
Context7 serves version-specific docs for thousands of libraries; Mastra's server serves one framework very well. Broad coverage catches more versions but returns a feed rather than a curated answer. If you write Mastra, the narrow one wins; if you write everything, the broad one does.
| Option | Install | Source | Link |
|---|---|---|---|
| Context7 | npx -y @upstash/context7-mcp | Community | Repository ↗ |
| Mastra Docs MCP | npx -y @mastra/mcp-docs-server | Official | Repository ↗ |
The agent touches many libraries and keeps citing outdated APIs.
You standardised on one framework and want its current API surface.
A project going archived, or a maintainer changing the install path, flips this comparison faster than any feature release. Both entries are re-checked weekly, and the date above tells you how much to trust the details.
Serves version-specific documentation for thousands of libraries, so an agent stops writing code against an API that changed two releases ago
Serves current Mastra documentation, changelogs, and examples to the agent, which is the difference between working code and plausible code when a framework ships weekly
Gives an agent scoped read, write, and search access to directories you explicitly allow
Read-only access to a repository's history: status, diffs, commit logs, and blame
Runs read-only SQL against a Postgres database and returns the schema alongside results, which is what makes it usable without pasting table definitions into the prompt
Searches messages, threads, and channel metadata in a Slack workspace, and can post when given a token with write scope
A code editor built around an agent that can read your whole repo.
The default general-purpose assistant, now with agents and deep research.