Jina AI MCP Tools
Jina AI MCP 工具
一个与 Jina AI Search Foundation API 集成的模型上下文协议 (MCP) 服务器。
功能
此 MCP 服务器提供对以下 Jina AI API 的访问:
Web Reader - 使用 r.jina.ai 提取网页内容
Web Search - 使用 s.jina.ai 或 svip.jina.ai 进行网页搜索(可通过
--search-endpoint配置)
Related MCP server: Jina Web Search MCP
先决条件
Jina AI API Key(可选)- 从 https://jina.ai/?sui=apikey 获取免费 API 密钥以使用增强功能
Node.js - 16 或更高版本
MCP 服务器
使用 stdio 传输(默认)
适用于由其他进程(例如 Claude Desktop、VS Code、Cursor)启动的本地集成:
{
"mcpServers": {
"jina-mcp-tools": {
"command": "npx",
"args": [
"jina-mcp-tools",
"--transport", "stdio",
"--tokens-per-page", "15000",
"--search-endpoint", "standard"
],
"env": {
"JINA_API_KEY": "your_jina_api_key_here_optional"
}
}
}
}使用 HTTP 传输
适用于可通过 HTTP 访问的远程服务器部署:
启动服务器:
# With API key
JINA_API_KEY=your_api_key npx jina-mcp-tools --transport http --host 127.0.0.1 --port 3000
# Without API key (reader tool only, binds to 127.0.0.1 by default)
npx jina-mcp-tools --transport http --port 3000从 MCP 客户端连接:
MCP Inspector:
npx @modelcontextprotocol/inspector→http://localhost:3000/mcpClaude Code:
claude mcp add --transport http jina-tools http://localhost:3000/mcpVS Code:
code --add-mcp '{"name":"jina-tools","type":"http","url":"http://localhost:3000/mcp"}'
CLI 选项:
--transport- 传输类型:stdio或http(默认:stdio)--host- HTTP 模式下绑定的主机/接口(默认:127.0.0.1)--port- HTTP 服务器端口(默认:3000,仅适用于 HTTP 传输)--tokens-per-page- 分页的每页 Token 数(默认:15000)--search-endpoint- 使用的搜索端点:standard(s.jina.ai) 或vip(svip.jina.ai)(默认:standard)--cache-size- Reader 缓存大小(以 URL 数量计,默认:50)--help- 显示内置的 CLI 帮助
代理环境变量
出站 HTTP 请求现在遵循标准的代理环境变量。这适用于 jina_reader、jina_search 和 jina_search_vip。
支持的代理变量:
HTTP_PROXY,HTTPS_PROXY,ALL_PROXY也支持小写变体:
http_proxy,https_proxy,all_proxy通过
NO_PROXY/no_proxy遵循排除规则
示例:
HTTPS_PROXY=http://proxy.internal:8080 npx jina-mcp-tools --transport stdio可用工具
jina_reader
提取并读取网页内容。
参数:
url- 要读取的 URL(必填)page- 分页内容页码(默认:1)customTimeout- 超时覆盖(以秒为单位,可选)
功能:
大型文档自动分页
LRU 缓存(50 个 URL),用于即时后续页面请求
GitHub 文件 URL 自动转换为原始内容 URL
优先尝试
Accept: text/markdown以获取维护的 Markdown 兼容文档/博客主机列表,如果获取失败或响应为空,则回退到r.jina.ai
jina_search / jina_search_vip
搜索网页。返回部分内容;使用 jina_reader 获取完整内容。需要 API 密钥。
注册的工具取决于 --search-endpoint:
jina_search→standard(s.jina.ai, 默认)jina_search_vip→vip(svip.jina.ai)
参数:
query- 搜索查询(必填)count- 结果数量(默认:5)siteFilter- 限制特定域名(例如 "github.com")
许可证
MIT
链接
Available Tools
1 tooljina_readerJina Web ReaderC
Read and extract content from web page.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the webpage to read and extract content from | |
| page | No | Page number for paginated content (1-indexed) | |
| customTimeout | No | Override timeout in whole seconds (1-2147483) for slow sites |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, but it discloses nothing about authentication requirements, rate limits, JavaScript rendering, truncation/pagination behavior, or error handling. The presence of customTimeout implies slow sites exist but the description never explains that tradeoff.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single short sentence that is front-loaded with the core action, with zero filler. However, the extreme brevity is under-specification rather than true efficiency for a tool this thin on context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations and no output schema, the description must explain what comes back and how pagination and timeouts behave; it does neither. An agent cannot tell whether the response is raw HTML, markdown, or plain text, nor how paginated content is returned.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so url, page, and customTimeout are each documented in the schema itself; baseline 3 applies. The description adds no extra meaning beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb pair (read/extract) and resource (web page), so an agent knows this fetches and parses page content. With no sibling tools to distinguish from, there is nothing more to disambiguate, but it does not clarify output form (markdown vs HTML vs text).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no mention of alternatives, and no conditions under which this tool should be preferred or avoided. The description is purely a statement of function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.3.0- Changed
jina_reader8 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - changed
Input schema / properties / customTimeout / descriptionPrevious value: -"Override timeout in seconds for slow sites"New value: +"Override timeout in whole seconds (1-2147483) for slow sites" - added
Input schema / properties / customTimeout / exclusiveMinimumAdded value: +0 - added
Input schema / properties / customTimeout / maximumAdded value: +2147483 - changed
Input schema / properties / customTimeout / typePrevious value: -"number"New value: +"integer" - added
Input schema / properties / page / exclusiveMinimumAdded value: +0 - added
Input schema / properties / page / maximumAdded value: +9007199254740991 - changed
Input schema / properties / page / typePrevious value: -"number"New value: +"integer"
1 tool update
v1.2.4- Changed
jina_reader1 field changed- removed
Input schema / additionalPropertiesRemoved value: -false
1 tool update
v1.2.0- First observed
jina_reader
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusion or misselection. Its purpose is clearly distinct.
With a single tool named jina_reader, consistency is trivially satisfied. It follows a readable snake_case pattern.
A server branded as 'Jina AI MCP Tools' with only one tool seems too few for the apparent scope. Jina AI typically offers multiple capabilities (search, embeddings, reranking), so one tool feels under-provisioned.
The surface only covers web page reading, with no search, embedding, reranking, or other operations implied by the Jina AI brand. This is a severely incomplete toolset for the stated purpose.
Maintenance
Related MCP Connectors
Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web search and page fetch for AI agents. Results come from a shared cache; cached calls cost less.
Web search, AI agent, and content extraction via You.com APIs
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables efficient web search integration with Jina.ai's Search API, offering clean, LLM-optimized content retrieval with support for various content types and configurable caching.125 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables web content retrieval and semantic search capabilities through the Jina AI API. Provides tools to fetch content from URLs and perform intelligent web searches with natural language queries.3MIT
- AlicenseNot gradedqualityCmaintenanceProvides web content extraction, search capabilities (web, arXiv, SSRN, images), semantic deduplication, and reranking through Jina AI's Reader, Embeddings, and Reranker APIs.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides tools for web content extraction, search, embeddings, reranking, and image processing via Jina AI APIs, enabling intelligent data retrieval and analysis.Apache 2.0