Skip to main content
Glama
spences10

MCP JinaAI Search Server

by spences10

mcp-jinaai-搜索


⚠️ 通知

此存储库不再维护。

该工具的功能现已在mcp-omnisearch中提供,它将多个 MCP 工具组合在一个统一的包中。

请改用mcp-omnisearch


一个模型上下文协议 (MCP) 服务器,用于将 Jina.ai 的搜索 API 与 LLM 集成。该服务器提供高效全面的网络搜索功能,并针对从网络检索简洁、LLM 友好的内容进行了优化。

Related MCP server: Jina AI Remote MCP Server

特征

  • 🔍 通过 Jina.ai Search API 进行高级网页搜索

  • 🚀 快速高效的内容检索

  • 📄 保留结构的干净文本提取

  • 🧠 针对法学硕士 (LLM) 优化的内容

  • 🌐 支持各种内容类型,包括文档

  • 🏗️ 基于模型上下文协议

  • 🔄 可配置缓存以提高性能

  • 🖼️ 可选的图像和链接收集

  • 🌍 通过浏览器语言环境支持本地化

  • 🎯 响应大小的令牌预算控制

配置

此服务器需要通过您的 MCP 客户端进行配置。以下是不同环境的示例:

克莱恩配置

将其添加到您的 Cline MCP 设置中:

{
	"mcpServers": {
		"jinaai-search": {
			"command": "node",
			"args": ["-y", "mcp-jinaai-search"],
			"env": {
				"JINAAI_API_KEY": "your-jinaai-api-key"
			}
		}
	}
}

带有 WSL 配置的 Claude 桌面

对于 WSL 环境,将其添加到您的 Claude Desktop 配置中:

{
	"mcpServers": {
		"jinaai-search": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"JINAAI_API_KEY=your-jinaai-api-key npx mcp-jinaai-search"
			]
		}
	}
}

环境变量

服务器需要以下环境变量:

  • JINAAI_API_KEY :您的 Jina.ai API 密钥(必需)

API

服务器实现了具有可配置参数的单个 MCP 工具:

搜索

使用 Jina.ai 阅读器搜索网页,获取干净、适合法学硕士 (LLM) 学习的内容。返回包含 URL 和干净内容的前 5 条结果。

参数:

  • query (字符串,必需):搜索查询

  • format (字符串,可选):响应格式(“json”或“text”)。默认为“text”

  • no_cache (布尔值,可选):绕过缓存以获取最新结果。默认为 false

  • token_budget (数字,可选):此请求的最大令牌数量

  • browser_locale (字符串,可选):用于呈现内容的浏览器语言环境

  • stream (布尔值,可选):为大页面启用流模式。默认为 false

  • gather_links (布尔值,可选):收集响应末尾的所有链接。默认为 false。

  • gather_images (布尔值,可选):在响应结束时收集所有图像。默认为 false。

  • image_caption (布尔值,可选):内容中的图片标题。默认为 false

  • enable_iframe (布尔值,可选):从 iframe 中提取内容。默认为 false

  • enable_shadow_dom (boolean,可选):从影子 DOM 中提取内容。默认为 false

  • resolve_redirects (布尔值,可选):遵循重定向链到达最终 URL。默认为 true

发展

设置

  1. 克隆存储库

  2. 安装依赖项:

pnpm install
  1. 构建项目:

pnpm run build
  1. 以开发模式运行:

pnpm run dev

出版

  1. 创建变更集:

pnpm changeset
  1. 对包进行版本控制:

pnpm version
  1. 构建并发布:

pnpm release

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

致谢

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedsearch

TDQS

B3.2/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'search' has a clear and singular purpose, making it impossible for an agent to misselect among non-existent alternatives.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'search' follows a simple verb pattern, which is appropriate and unambiguous for its function.

Tool Count2/5

A single tool is too few for a server named 'MCP JinaAI Search Server', which suggests a broader search functionality scope. While the tool covers basic web search, the server lacks additional tools for advanced operations like filtering, pagination, or domain-specific searches, making it feel thin and under-scoped.

Completeness2/5

The server is severely incomplete for a search domain. It only offers a basic search tool without any supporting operations such as refining queries, handling multiple result pages, or accessing search history. This creates significant gaps that could lead to agent failures when more complex search tasks are required.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides access to Jina AI's web reading, search, embeddings, and reranking capabilities. Enables URL content extraction, web/arXiv/image search, document deduplication, and relevance ranking through natural language.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides web content extraction, search capabilities (web, arXiv, SSRN, images), semantic deduplication, and reranking through Jina AI's Reader, Embeddings, and Reranker APIs.
    1
    Apache 2.0
  • A
    license
    B
    quality
    A
    maintenance
    Integrates Jina AI Search Foundation APIs to provide web page content extraction and search capabilities. It supports automatic pagination, result caching, and both standard and VIP search endpoints for enhanced information retrieval.
    1
    127 npm
    45
    MIT