# Repository Briefing: jina-ai/MCP
> Source: https://repoforai.com/repo/jina-ai/MCP (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/jina-ai/MCP
- **Official Docs / Website**: https://mcp.jina.ai
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: B+ (73/100 · Maintenance 31/35 · Adoption 16/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, API
- **Momentum**: 928 ★ total (+1 24h / +5 7d) · 95 forks
- **Topics**: `mcp`, `mcp-server`
- **When to Use**: Best for: Teams adding web or paper search, document reading, and relevance ranking to MCP-compatible assistants, with per-client control over exposed tools and read budgets. Skip if: Retrieval must run fully offline, policy prohibits sending URLs or queries to Jina, or one application already handles the workflow through direct API calls.

## Overview
```text
### Architecture & Core Mechanics
Jina MCP is a TypeScript remote server that exposes Jina Reader, Search, Embeddings, and Reranker capabilities as MCP tools. The manifest lists @modelcontextprotocol/sdk, agents, yaml, and zod; src/, test/, wrangler.jsonc, and worker-configuration.d.ts provide the source, test, and Wrangler-oriented deployment structure. The recommended /v1 endpoint and compatibility path /sse both use Streamable HTTP. A response can use text/event-stream without using the deprecated SSE transport.

Endpoint query parameters filter tools by name or tag before registration, with exclusions taking precedence over inclusions. That changes which schemas the client receives, not just which calls it makes. Calls that accept multiple inputs execute them concurrently and report item-level failures alongside successful results. Only an entirely failed batch returns isError: true, so a client must inspect individual results before treating a batch as complete.

### Key Capabilities & Differentiators
The 12 tools cover web and paper search, image and Jina blog search, Markdown reading of pages and PDFs, screenshots, date inference, relevance ranking, semantic deduplication, and structured PDF extraction. Web, arXiv, and SSRN searches and read_url accept up to five inputs per call. Read options apply to the entire batch, so URLs that need different questions or OCR pages require separate calls. Structured PDF extraction accepts an arXiv ID or a PDF URL on arxiv.org, ssrn.com, openreview.net, or aclanthology.org; it is not a general-purpose layout extractor for arbitrary PDF URLs.

With a question, read_url chunks the body at sentence boundaries and uses Reranker v3.5 to select passages. chunk_size defaults to a target of 100 words and topk defaults to one, with up to 50 passages requested. The response joins the selected passages into one snippets element and exposes no relevance scores. If ranking cannot run, including when no key is available for it, the tool returns the body instead, subject to the read budget, and labels the fallback with snippet_source: full_content and a note.

### Trade-offs & Limitations
Compared with direct Jina API integration, this server gives several MCP clients one tool interface and lets operators remove unused schemas before registration. Direct calls are a better fit when a single application needs to control upstream request options, retries, and result handling itself. The hosted MCP endpoint removes server maintenance, not third-party dependencies: credentials, quotas, billing, backend capacity, and timeouts remain operational concerns.

The read_url guardrail trades completeness for acceptance by clients that cap tool responses at 25,000 tokens. It keeps items whole in order while they fit, cuts the first that does not fit, and drops later items, with a note marking the partial payload. The cl100k estimate and byte ceiling leave room for tokenizer and serialization differences, but do not guarantee that every client accepts the response. Use question-based retrieval when excerpts suffice; raise max_tokens or set it to 0 only when the client can accept the larger response. Neither option recovers passages omitted by relevance selection.

### Hardware & Deployment Guide
For a native remote MCP client, point it at https://mcp.jina.ai/v1 and send an Authorization: Bearer header when needed. Claude Code supports this through its HTTP transport; a client without native remote support can use the local mcp-remote bridge via npx, which requires Node.js and npx. Reads and screenshots work without a key at lower limits, while tools such as web and academic search, reranking, deduplication, and PDF extraction require one.

For self-deployment, start from the Wrangler configuration and the project's dev, test, type-check, and deploy scripts. Hosting the MCP layer yourself does not remove reliance on Jina's upstream APIs, and this path does not require local model weights or a GPU. Size the deployment around concurrent upstream calls and response volume. The move from /sse to /v1 is reflected in endpoint guidance and backward compatibility; there is no published GitHub release to pin that change to.
```

## Key Capabilities
```text
- Transport: /v1 and the legacy /sse path both use MCP Streamable HTTP; text/event-stream framing does not imply legacy SSE transport.
- Tool registration: URL filters select from 12 tools before registration; name or tag exclusions take precedence over inclusions.
- Batch semantics: Web, arXiv, and SSRN search plus read_url run up to five inputs concurrently; a batch is marked as an error only if every item fails.
- Passage retrieval: read_url uses Reranker v3.5 in question mode and marks full-body fallback with snippet_source: full_content.
- Output budget: read_url combines a cl100k estimate with a three-bytes-per-token ceiling, marks omissions, and accepts a max_tokens override.
- PDF scope: extract_pdf targets figures, tables, and equations from an arXiv ID or a PDF URL on one of four supported domains.
```

## Quick Start / Clone
```bash
# Clone the repository
git clone https://github.com/jina-ai/MCP.git
cd MCP

# Install dependencies
npm install

# Start development server
npm run start

# Type-check, and run the tests
npm run type-check
npm test
```
