Jina.ai Grounding MCP Server

Jina.ai Grounding MCP Server

将 Jina.ai 的 Grounding API 与 LLM 集成,用于实时、基于事实的网络内容基础和分析,从而利用精确、经过验证的信息来增强 LLM 的响应。

搜索
浏览器自动化
JavaScript
访问服务器

Tools

ground_statement

Ground a statement using real-time web search results to check factuality. When providing URLs via the references parameter, ensure they are publicly accessible and contain relevant information about the statement. If the URLs do not contain the necessary information, try removing the URL restrictions to search the entire web.

README

mcp-jinaai-grounding


⚠️ 注意

此仓库已停止维护。

此工具的功能现在已包含在 mcp-omnisearch 中,它将多个 MCP 工具整合到一个统一的包中。

请使用 mcp-omnisearch 代替。


一个模型上下文协议 (MCP) 服务器,用于将 Jina.ai 的 Grounding API 与 LLM 集成。 此服务器提供高效且全面的 Web 内容 grounding 功能,经过优化,可通过事实性的实时 Web 内容增强 LLM 响应。

<a href="https://glama.ai/mcp/servers/urkuhet67l"> <img width="380" height="200" src="https://glama.ai/mcp/servers/urkuhet67l/badge" /> </a>

特性

  • 🌐 通过 Jina.ai Grounding API 实现高级 Web 内容 grounding
  • 🚀 实时内容验证和事实核查
  • 📚 全面的 Web 内容分析
  • 🔄 针对 LLM 优化的简洁格式
  • 🎯 精确的内容相关性评分
  • 🏗️ 构建于模型上下文协议之上

配置

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

Cline 配置

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

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

带有 WSL 的 Claude Desktop 配置

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

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

环境变量

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

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

API

该服务器实现了 MCP 工具,用于使用 Web 内容 grounding LLM 响应:

ground_content

使用 Jina.ai Grounding 通过实时 Web 内容 grounding LLM 响应。

参数:

  • query (string, required): 要使用 Web 内容 grounding 的文本
  • no_cache (boolean, optional): 绕过缓存以获取最新结果。 默认为 false
  • format (string, optional): 响应格式(“json”或“text”)。 默认为“text”
  • token_budget (number, optional): 此请求的最大 token 数
  • browser_locale (string, optional): 用于渲染内容的浏览器区域设置
  • stream (boolean, optional): 启用流模式以处理大型页面。 默认为 false
  • gather_links (boolean, optional): 在响应末尾收集所有链接。 默认为 false
  • gather_images (boolean, optional): 在响应末尾收集所有图像。 默认为 false
  • image_caption (boolean, optional): 为内容中的图像添加标题。 默认为 false
  • enable_iframe (boolean, optional): 从 iframe 中提取内容。 默认为 false
  • enable_shadow_dom (boolean, optional): 从 shadow DOM 中提取内容。 默认为 false
  • resolve_redirects (boolean, optional): 跟踪重定向链到最终 URL。 默认为 true

开发

设置

  1. 克隆存储库
  2. 安装依赖项:
pnpm install
  1. 构建项目:
pnpm run build
  1. 在开发模式下运行:
pnpm run dev

发布

  1. 更新 package.json 中的版本
  2. 构建项目:
pnpm run build
  1. 发布到 npm:
pnpm run release

贡献

欢迎贡献! 请随时提交 Pull Request。

许可证

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

致谢

推荐服务器

Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
Playwright MCP Server

Playwright MCP Server

提供一个利用模型上下文协议的服务器,以实现类人浏览器的自动化,该服务器使用 Playwright,允许控制浏览器行为,例如导航、元素交互和滚动。

精选
本地
TypeScript
@kazuph/mcp-fetch

@kazuph/mcp-fetch

用于获取网页内容和处理图像的模型上下文协议服务器。这使得 Claude Desktop(或任何 MCP 客户端)能够适当地获取网页内容和处理图像。

精选
本地
JavaScript
Claude Code MCP

Claude Code MCP

一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。

精选
本地
JavaScript
DuckDuckGo MCP Server

DuckDuckGo MCP Server

一个模型上下文协议 (MCP) 服务器,通过 DuckDuckGo 提供网页搜索功能,并具有内容获取和解析的附加功能。

精选
Python
Supabase MCP Server

Supabase MCP Server

一个模型上下文协议(MCP)服务器,它提供对 Supabase 管理 API 的编程访问。该服务器允许 AI 模型和其他客户端通过标准化的接口来管理 Supabase 项目和组织。

精选
JavaScript
YouTube Transcript MCP Server

YouTube Transcript MCP Server

这个服务器用于获取指定 YouTube 视频 URL 的字幕,从而可以与 Goose CLI 或 Goose Desktop 集成,进行字幕提取和处理。

精选
Python
serper-search-scrape-mcp-server

serper-search-scrape-mcp-server

这个 Serper MCP 服务器支持搜索和网页抓取,并且支持 Serper API 引入的所有最新参数,例如位置信息。

精选
TypeScript