Skip to main content
Glama

MCP JinaAI Reader Server

mcp-jinaai-阅读器


⚠️ 通知

此存储库不再维护。

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

请改用mcp-omnisearch


一个模型上下文协议 (MCP) 服务器,用于集成 Jina.ai 的阅读器 API 与 LLM。该服务器提供高效全面的 Web 内容提取功能,并针对文档和 Web 内容分析进行了优化。

特征

  • 📚 通过 Jina.ai Reader API 进行高级网页内容提取
  • 🚀 快速高效的内容检索
  • 📄 完整提取文本并保留结构
  • 🔄 针对法学硕士 (LLM) 优化的简洁格式
  • 🌐 支持各种内容类型,包括文档
  • 🏗️ 基于模型上下文协议

配置

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

克莱恩配置

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

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

带有 WSL 配置的 Claude 桌面

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

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

环境变量

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

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

API

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

读取网址

使用 Jina.ai Reader 将任何 URL 转换为 LLM 友好文本。

参数:

  • url (字符串,必需):要处理的 URL
  • no_cache (布尔值,可选):绕过缓存以获取最新结果。默认为 false
  • format (字符串,可选):响应格式(“json”或“stream”)。默认为“json”
  • timeout (数字,可选):等待网页加载的最长时间(秒)
  • target_selector (字符串,可选):CSS 选择器用于关注特定元素
  • wait_for_selector (字符串,可选):用于等待特定元素的 CSS 选择器
  • remove_selector (字符串,可选):用于排除特定元素的 CSS 选择器
  • with_links_summary (布尔值,可选):收集响应末尾的所有链接
  • with_images_summary (布尔值,可选):在响应末尾收集所有图像
  • with_generated_alt (布尔值,可选):向缺少标题的图像添加替代文本
  • with_iframe (布尔值,可选):在响应中包含 iframe 内容

发展

设置

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

出版

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

贡献

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

执照

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

致谢

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

将 Jina.ai 的阅读器 API 与 LLM 相集成,以实现高效、结构化的 Web 内容提取,并针对文档和 Web 内容分析进行了优化。

  1. ⚠️ 通知
    1. 特征
      1. 配置
        1. 克莱恩配置
        2. 带有 WSL 配置的 Claude 桌面
        3. 环境变量
      2. API
        1. 读取网址
      3. 发展
        1. 设置
        2. 出版
      4. 贡献
        1. 执照
          1. 致谢

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Enables 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.
              Last updated -
              30
              4
              MIT License
            • A
              security
              A
              license
              A
              quality
              Integrates Jina.ai's Grounding API with LLMs for real-time, fact-based web content grounding and analysis, enhancing LLM responses with precise, verified information.
              Last updated -
              31
              2
              MIT License
              • Linux
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              3
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables web content extraction, screenshot capture, web search, arXiv paper search, and image search through Jina AI's APIs. Provides tools for reading URLs as markdown, searching the web for current information, and finding academic papers or images.
              Last updated -
              15
              128
              Apache 2.0

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/spences10/mcp-jinaai-reader'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server