Jina.ai Reader
STDIOMCP server for integrating Jina.ai's Reader API with LLMs for web content extraction.
MCP server for integrating Jina.ai's Reader API with LLMs for web content extraction.
This repository is no longer maintained.
The functionality of this tool is now available in mcp-omnisearch, which combines multiple MCP tools in one unified package.
Please use mcp-omnisearch instead.
A Model Context Protocol (MCP) server for integrating Jina.ai's Reader API with LLMs. This server provides efficient and comprehensive web content extraction capabilities, optimized for documentation and web content analysis.
This server requires configuration through your MCP client. Here are examples for different environments:
Add this to your Cline MCP settings:
{ "mcpServers": { "jinaai-reader": { "command": "node", "args": ["-y", "mcp-jinaai-reader"], "env": { "JINAAI_API_KEY": "your-jinaai-api-key" } } } }
For WSL environments, add this to your Claude Desktop configuration:
{ "mcpServers": { "jinaai-reader": { "command": "wsl.exe", "args": [ "bash", "-c", "JINAAI_API_KEY=your-jinaai-api-key npx mcp-jinaai-reader" ] } } }
The server requires the following environment variable:
JINAAI_API_KEY
: Your Jina.ai API key (required)The server implements a single MCP tool with configurable parameters:
Convert any URL to LLM-friendly text using Jina.ai Reader.
Parameters:
url
(string, required): URL to processno_cache
(boolean, optional): Bypass cache for fresh results.
Defaults to falseformat
(string, optional): Response format ("json" or "stream").
Defaults to "json"timeout
(number, optional): Maximum time in seconds to wait for
webpage loadtarget_selector
(string, optional): CSS selector to focus on
specific elementswait_for_selector
(string, optional): CSS selector to wait for
specific elementsremove_selector
(string, optional): CSS selector to exclude
specific elementswith_links_summary
(boolean, optional): Gather all links at the
end of responsewith_images_summary
(boolean, optional): Gather all images at the
end of responsewith_generated_alt
(boolean, optional): Add alt text to images
lacking captionswith_iframe
(boolean, optional): Include iframe content in
responsenpm install
npm run build
npm run dev
npm run build
npm publish
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see the LICENSE file for details.