Skip to content

YingchaoX/mcp-jina-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jina Reader MCP Server

MCP server implementation for Jina AI search and reading operations. This server provides a Model Context Protocol (MCP) interface to interact with Jina.ai's search and web reading capabilities.

Features

  • Search functionality through Jina.ai
  • Web content reading and extraction
  • Asynchronous processing
  • MCP protocol integration

Installation

  1. Clone the repository:
git clone https://github.com/YingchaoX/mcp-jina-reader.git
  1. Install dependencies using uv:
uv pip install -e .
  1. Configure the MCP server by adding to your mcpservers.json:
{
    "mcp-jina-fetch": {
        "command": ["python", "-m", "mcp_jina_reader"],
        "env": {
            "JINA_API_KEY": "your-api-key-here",
            "JINA_TIMEOUT": "10"
        }
    }
}

API

Resources

jina://search: Jina.ai search interface jina://read: Jina.ai web reading interface

Tools

search

Search for content using Jina.ai

  • Input:
    • keywords (string): Search terms

Example:

{
    "name": "search",
    "arguments": {
        "keywords": "your search terms"
    }
}

read

Read and extract content from a URL

  • Input:
    • url (string): URL to read and extract content from

Example:

{
    "name": "read",
    "arguments": {
        "url": "https://example.com"
    }
}

Environment Variables

  • JINA_API_KEY: Your Jina.ai API key (required)
  • JINA_TIMEOUT: Request timeout in seconds (optional, default: 10)

License

MIT License - see LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages