jina-ai/MCP
Remote MCP gateway for Jina search, document reading, and retrieval
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
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.
Retrieval must run fully offline, policy prohibits sending URLs or queries to Jina, or one application already handles the workflow through direct API calls.
Quick Start & Installation
# 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
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| MCP ★ | 928 | +5 | TypeScript | Apache-2.0 | Remote MCP gateway for Jina search, document reading, and retrieval |
| chrome-devtools-mcp | 60.4k | +801 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.9k | +324 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/jina-ai/MCP.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about MCP
Which endpoint and transport should my MCP client use?
Do I need a GPU, and what drives runtime resource use?
Can I use or self-deploy the server commercially?
When should I call Jina APIs directly instead of using MCP?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy