Jina AI Search MCP Server

PythonMCP CompatibleDeploymentAsk DeepWiki

๐Ÿš€ Quick Start: Try it instantly with Claude Desktop using our hosted endpoint: https://jina-mcp.onrender.com/sse

A powerful Model Context Protocol (MCP) server implementation that provides seamless access to Jina AI's Search Foundation API. This server enables AI assistants and applications to leverage Jina's advanced search, reading, and knowledge retrieval capabilities through a standardized MCP interface.

๐Ÿ“‹ Table of Contents

  • โœจ Features
  • ๐Ÿ”ง How it Works
  • โšก Quick Start
  • ๐Ÿ“ฆ Installation
  • โš™๏ธ Configuration
  • ๐Ÿ”Œ MCP Server Setup
  • ๐Ÿ’ก Usage Examples
  • ๐Ÿ“š API Documentation
  • ๐Ÿ› ๏ธ Development
  • ๐Ÿค Contributing
  • ๐Ÿ’ฌ Support
  • ๐Ÿ“„ License

โœจ Features

  • ๐Ÿš€ MCP-compliant server implementation - Full compatibility with Model Context Protocol
  • ๐Ÿ” Jina AI Search & Reader APIs - Access to powerful AI search and content reading capabilities
  • ๐Ÿ“š DeepWiki Integration - Enhanced Wikipedia access with AI understanding
  • ๐Ÿ—๏ธ Clean, modular codebase - Well-structured and maintainable architecture
  • ๐Ÿ“– Comprehensive documentation - Detailed guides and API references
  • โšก Easy setup - Simple installation with virtual environment support
  • ๐Ÿ” Secure authentication - OAuth2 Bearer token support
  • ๐ŸŒ Real-time processing - Server-Sent Events (SSE) for live communication

๐Ÿ”ง How it Works

The Jina MCP server provides seamless integration with Jina AI's powerful search and reading capabilities through the Model Context Protocol. Here's how you can leverage its features:

๐Ÿ” Search with Jina AI

Ask questions and get comprehensive search results from across the web:

"Search for the latest developments in artificial intelligence"
"Find information about sustainable energy solutions"
"What are the recent breakthroughs in quantum computing?"

๐ŸŽฏ Use Cases

  • Research assistance - Get comprehensive information on any topic
  • Content analysis - Read and analyze web pages
  • Knowledge discovery - Explore Wikipedia with AI-enhanced understanding
  • AI assistant integration - Seamlessly integrate with Claude Desktop and other MCP clients

โšก Quick Start

Prerequisites

Instant Setup with Claude Desktop

Add this configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "jina": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "supergateway",
        "--sse",
        "https://jina-mcp.onrender.com/sse",
        "--oauth2Bearer=your-jina-api-key"
      ]
    }
  }
}

Replace your-jina-api-key with your actual Jina AI API key and restart Claude Desktop!

๐Ÿ“ฆ Installation

1. Clone the Repository

git clone https://github.com/Meetpatel006/jina-mcp.git
cd jina-mcp

2. Set Up Virtual Environment

# Create virtual environment
python -m venv venv

# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate

3. Install Dependencies

pip install -r requirements.txt

โš™๏ธ Configuration

Environment Setup

Create a .env file in the project root:

JINA_API_KEY=your_jina_api_key_here

Running the Server Locally

python -m jina_mcp.server

๐Ÿ”Œ MCP Server Setup

For Claude Desktop (Recommended)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "jina": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "supergateway",
        "--sse",
        "https://jina-mcp.onrender.com/sse",
        "--oauth2Bearer=your-jina-api-key"
      ]
    }
  }
}

Local Development Setup

For local development:

{
  "mcpServers": {
    "jina": {
      "command": "python",
      "args": ["-m", "jina_mcp.server"],
      "cwd": "/path/to/jina-mcp",
      "env": {
        "JINA_API_KEY": "your-api-key-here"
      }
    }
  }
}

Configuration Steps

  1. For Claude Desktop: Add the configuration to your claude_desktop_config.json file
  2. Replace API Key: Use your actual Jina AI API key
  3. Restart Client: Restart your MCP client to load the new server

๐Ÿ’ก Usage Examples

Basic Search

# Search for information
"Search for Python best practices"
"Find the latest news about AI development"

DeepWiki Queries

# Ask deepwiki for detailed information
"Ask deepwiki about machine learning"
"Ask deepwiki to explain neural networks"
"Ask deepwiki about the Python programming language"

Web Content Analysis

# Read and analyze web content
"Read https://example.com/blog-post"
"Summarize the content from https://research-paper-url.com"

๐Ÿ“š API Documentation

Documentation Resources

  • ๐Ÿ“– API Documentation - Complete API reference
  • ๐Ÿ”ง MCP Protocol Documentation - MCP implementation details
  • ๐Ÿ Python SDK Documentation - Python SDK usage
  • ๐Ÿ” Jina API Documentation - Jina AI API reference

Code Examples

Explore the examples directory:

  • ๐Ÿ”ง Client Example - Basic client implementation
  • More examples coming soon!

๐Ÿ› ๏ธ Development

Development Setup

# Install development dependencies
pip install -r requirements-dev.txt

# Run tests
pytest

# Code formatting
black .

# Linting
flake8 .

Project Structure

jina-mcp/
โ”œโ”€โ”€ jina_mcp/           # Main package
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ server.py       # MCP server implementation
โ”‚   โ”œโ”€โ”€ client.py       # Jina API client
โ”‚   โ”œโ”€โ”€ config.py       # Configuration management
โ”‚   โ”œโ”€โ”€ models.py       # Data models
โ”‚   โ””โ”€โ”€ tools.py        # MCP tools
โ”œโ”€โ”€ docs/               # Documentation
โ”œโ”€โ”€ examples/           # Usage examples
โ”œโ”€โ”€ requirements.txt    # Dependencies
โ””โ”€โ”€ README.md          # This file

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Contribution Guidelines

  • Follow the existing code style (use black for formatting)
  • Add tests for new features
  • Update documentation as needed
  • Ensure all tests pass before submitting

๐Ÿ’ฌ Support

Get Help

  • ๐Ÿ“– Documentation - Comprehensive guides and references
  • ๐Ÿ› Issue Tracker - Report bugs or request features
  • ๐Ÿ’ฌ Discussions - Community discussions
  • ๐Ÿ“ง Contact: Create an issue for support

Useful Links

Made with โค๏ธ by Meet Patel

โญ Star this repo if you find it helpful! โญ

MCP Server ยท Populars

MCP Server ยท New