Labsco
spences10 logo

JinaAI Reader

โ˜… 30

from spences10

Extracts web content using the Jina.ai Reader API.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

mcp-jinaai-reader


โš ๏ธ Notice

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.

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

Features

  • ๐Ÿ“š Advanced web content extraction through Jina.ai Reader API
  • ๐Ÿš€ Fast and efficient content retrieval
  • ๐Ÿ“„ Complete text extraction with preserved structure
  • ๐Ÿ”„ Clean format optimized for LLMs
  • ๐ŸŒ Support for various content types including documentation
  • ๐Ÿ—๏ธ Built on the Model Context Protocol

API

The server implements a single MCP tool with configurable parameters:

read_url

Convert any URL to LLM-friendly text using Jina.ai Reader.

Parameters:

  • url (string, required): URL to process
  • no_cache (boolean, optional): Bypass cache for fresh results. Defaults to false
  • format (string, optional): Response format ("json" or "stream"). Defaults to "json"
  • timeout (number, optional): Maximum time in seconds to wait for webpage load
  • target_selector (string, optional): CSS selector to focus on specific elements
  • wait_for_selector (string, optional): CSS selector to wait for specific elements
  • remove_selector (string, optional): CSS selector to exclude specific elements
  • with_links_summary (boolean, optional): Gather all links at the end of response
  • with_images_summary (boolean, optional): Gather all images at the end of response
  • with_generated_alt (boolean, optional): Add alt text to images lacking captions
  • with_iframe (boolean, optional): Include iframe content in response

Development

Setup

  1. Clone the repository
  2. Install dependencies:
Copy & paste โ€” that's it
npm install
  1. Build the project:
Copy & paste โ€” that's it
npm run build
  1. Run in development mode:
Copy & paste โ€” that's it
npm run dev

Publishing

  1. Update version in package.json
  2. Build the project:
Copy & paste โ€” that's it
npm run build
  1. Publish to npm:
Copy & paste โ€” that's it
npm publish

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see the LICENSE file for details.

Acknowledgments