Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Read markdown with inlined images and index headings for agentic RAG workflows.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"md-vision": {
"command": "npx",
"args": [
"-y",
"md-vision",
"--allow-path",
"your-value",
"--allow-domain",
"your-value"
]
}
}
}ターミナルでこれを実行します
claude mcp add md-vision -- npx -y md-vision --allow-path your-value --allow-domain your-valueこのサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"md-vision": {
"command": "npx",
"args": [
"-y",
"md-vision",
"--allow-path",
"your-value",
"--allow-domain",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"md-vision": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"md-vision",
"--allow-path",
"your-value",
"--allow-domain",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント japlete で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.1)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
stdio MCP server with two read-only tools for agentic RAG over markdown documentation:
Typical flow: call index_md to discover headings and structure, then read_md_with_images on the sections you need.
Published package: md-vision on npm
In your agent config (.agents/mcp.json or similar), point your MCP host at the server. Example:
{
"mcpServers": { "md-vision": { "command": "npx", "args": [ "md-vision", "--allow-path", "/absolute/path/to/docs", "--allow-domain", "none" ] } } }
With remote markdown (allow all HTTP(S) hosts, or list specific domains):
{
"mcpServers": { "md-vision": { "command": "npx", "args": [ "md-vision", "--allow-path", "/absolute/path/to/docs", "--allow-domain", "all" ] } } }
{
"mcpServers": { "md-vision": { "command": "npx", "args": [ "md-vision", "--allow-path", "/absolute/path/to/docs", "--allow-domain", "raw.githubusercontent.com" ] } } }
The server exits on startup if --allow-path or --allow-domain is omitted.
Restart the MCP host after changing configuration.
| Flag | Required | Effect |
|---|---|---|
--allow-path | Yes (at least one) | Local files must resolve under one of the allowed directories (repeatable). |
--allow-domain | Yes (at least one) | Controls HTTP(S) access. Use all to allow any host, none to disable URLs (local files only), or list specific hosts (repeatable; suffix match supported, e.g. example.com allows docs.example.com). |
Equivalent forms: --allow-path=/path, --allow-domain=host.example, --allow-domain=all, --allow-domain=none.
Do not pass a bare * as a separate shell argument — the shell expands it to filenames in the current directory. Use all or --allow-domain=all instead.
Read a markdown file and inline referenced images as MCP image content.
| Parameter | Type | Description |
|---|---|---|
uri | string | Local path or http(s):// URL |
section | string, optional | Exact heading to read, e.g. ## Introduction (used when matched; otherwise falls back to line_range) |
line_range | [start, end], optional | Inclusive 1-based document line range (used when section is omitted or not found) |
max_images | integer, optional | Max images to inline (default 10, max 50) |
Returns: MCP content array — alternating text and image blocks (PNG, base64) in document order; frontmatter preserved in the leading text. Before each inlined image, a short text block carries the resolved image URL (omitted for data: URIs and other long references). Images beyond max_images stay as markdown image syntax in text.
URI forms: local filesystem paths and http(s):// URLs. Local paths must fall under a configured --allow-path directory. Relative image paths resolve against the markdown file location or document URL. Images may use markdown syntax or HTML tags.
Index headings for navigation before targeted reads.
| Parameter | Type | Description |
|---|---|---|
uri | string | Markdown file, http(s):// URL, or local folder |
Returns: Markdown string. For each file:
tsv code block with columns: heading, line_start, n_images, char_count.Each file is wrapped in:
<file path="..." lines=X chars=Y>
...
Folder uri values are scanned recursively for *.md / *.markdown in stable sorted order. Headings inside fenced code blocks are not indexed.
stdio MCP servers run as subprocesses of the agent runtime that invokes them. There are two deployment patterns commonly used:
--allow-path to the documentation tree you intend to expose.See benchmark/ for the MMLongBench-Doc A/B harness comparing filesystem-only agentic RAG against the same agent with md-vision MCP tools.
md-vision can also be used as a library when you want to index markdown outside an MCP host — for example in an offline preprocessing pipeline for agentic RAG.
Install the package:
npm install md-vision
Use indexMarkdownText when you already have markdown content in memory.
import { indexMarkdownText } from "md-vision";
const markdown = `# Guide
Intro text.
`;
const index = indexMarkdownText(markdown);
console.log(index.rows);
Example result:
[
{ heading: "# Guide", lineStart: 1, imageCount: 1, charCount: 42 }, { heading: "## Setup", lineStart: 5, imageCount: 1, charCount: 24 } ]
Use indexMarkdownFile to load and index a local markdown file.
import { indexMarkdownFile } from "md-vision";
const index = await indexMarkdownFile("./docs/guide.md");
await saveToVectorStoreMetadata({ path: index.path, frontmatter: index.frontmatter, headings: index.rows, });
Use indexMarkdownFolder to recursively index *.md and *.markdown files in stable sorted order.
import { indexMarkdownFolder } from "md-vision";
const files = await indexMarkdownFolder("./docs");
for (const file of files) { console.log(file.path, file.rows); }
Each indexed file returns structured data:
type MarkdownFileIndex = {
path?: string; frontmatter: string; lineCount: number; charCount: number; rows: HeadingIndexRow[]; };
type HeadingIndexRow = { heading: string; lineStart: number; imageCount: number; charCount: number; };
Headings inside fenced code blocks are ignored because indexing uses the markdown AST rather than regex matching.