Enables configuration management by loading environment variables from a .env file, specifically for storing and accessing the Jina AI API key.
Supports test-driven development for the MCP server with comprehensive testing capabilities to ensure reliability.
Serves as the foundation for the MCP server implementation, requiring Python 3.8+ for running the application.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Jina AI Search MCP Serversearch for recent breakthroughs in quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Jira MCP Server
β¨ 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 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-mcp2. 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/activate3. 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_hereRunning 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.jsonfileReplace 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
blackfor 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
β Star this repo if you find it helpful! β