Jina AI Search MCP Server
๐ 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
- Python 3.8+
- pip package manager
- Jina AI API Key (Get yours here)
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
- For Claude Desktop: Add the configuration to your
claude_desktop_config.json
file - Replace API Key: Use your actual Jina AI API key
- 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
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - 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! โญ