context7

context7 is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from SylphxAI/coderag. Its token cost is not measured, scanned A, a copy of context7, MIT.

A remote service that provides current documentation and code examples for software libraries. MCP is a standard way for an AI coding agent to connect to external tools and services.

In plain words
What is it for?
Use it when writing code with third-party libraries and you need their current APIs, setup instructions, or examples.
Why use it?
It reduces the risk of using outdated or incorrectly remembered library instructions. The agent can consult documentation when working with changing software packages.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it. Also seen: listed in a Claude config.

One of 2 entries in .mcp.json upstream. Installing this one merges just its entry into your config; the other 1 are separate, each on its own page.

Good fit Use it when writing code with third-party libraries and you need their current APIs, setup instructions, or examples.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/sylphxai/coderag/context7
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SylphxAI/coderag

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context7

README.md
[![agentmods](https://agentmods.dev/badge/mcp/sylphxai/coderag/context7/github.svg)](https://agentmods.dev/mcp/sylphxai/coderag/context7)
Your own site
<a href="https://agentmods.dev/mcp/sylphxai/coderag/context7"><img src="https://agentmods.dev/badge/mcp/sylphxai/coderag/context7/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context7

Your own site · 80×15
<a href="https://agentmods.dev/mcp/sylphxai/coderag/context7"><img src="https://agentmods.dev/badge/mcp/sylphxai/coderag/context7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 80% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

context7 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

80% identical to context7 — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.mcp.json · 6 lines

What it actually says

{
  "context7": {
    "type": "http",
    "url": "https://mcp.context7.com/mcp"
  }
}
Same file

What else .mcp.json configures

This page is one entry in a file that holds 2. Installing the file brings all of them; each is measured and scanned on its own page.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 6 lines scan A 628f1839784b

Subscribe to this mod's changes

context7 is an MCP server published in the GitHub repository SylphxAI/coderag (12 stars, last pushed 2mo ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. It is 80% identical to context7, differing in 2 lines, and is treated as a copy.

Related

context7 compared with mcp servers from other repositories

context7 next to 6 mcp servers from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context7SylphxAI/coderagMCP server122mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
semcode-mcphuawang1258/semantic-code-mcpMCP server21mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
rag-mcpjaimenbell/rag-mcpMCP server11mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
forgeVoxellInc/forge-mcpMCP server11mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
shelfmark-ragLucasSantana-Dev/shelfmarkMCP server11mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
mcp-docs-askalyiox/mcp-docs-askMCP server01mo agoMITA—Claude Code, Codex, Cursor, Gemini CLI, OpenCode
octocodeMuvon/octocodeMCP server530yesterdayApache-2.0A—Claude Code, Codex, Cursor, Gemini CLI, OpenCode