spences10

mcp-jinaai-search

Community spences10
Updated

MCP server for JinaAI search

mcp-jinaai-search

A Model Context Protocol (MCP) server for integrating Jina.ai's SearchAPI with LLMs. This server provides efficient and comprehensive websearch capabilities, optimised for retrieving clean, LLM-friendlycontent from the web.

Features

  • 🔍 Advanced web search through Jina.ai Search API
  • 🚀 Fast and efficient content retrieval
  • 📄 Clean text extraction with preserved structure
  • 🧠 Content optimised for LLMs
  • 🌐 Support for various content types including documentation
  • 🏗️ Built on the Model Context Protocol
  • 🔄 Configurable caching for performance
  • 🖼️ Optional image and link gathering
  • 🌍 Localisation support through browser locale
  • 🎯 Token budget control for response size

Configuration

This server requires configuration through your MCP client. Here areexamples for different environments:

Cline Configuration

Add this to your Cline MCP settings:

{
	"mcpServers": {
		"jinaai-search": {
			"command": "node",
			"args": ["-y", "mcp-jinaai-search"],
			"env": {
				"JINAAI_API_KEY": "your-jinaai-api-key"
			}
		}
	}
}

Claude Desktop with WSL Configuration

For WSL environments, add this to your Claude Desktop configuration:

{
	"mcpServers": {
		"jinaai-search": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"JINAAI_API_KEY=your-jinaai-api-key npx mcp-jinaai-search"
			]
		}
	}
}

Environment Variables

The server requires the following environment variable:

  • JINAAI_API_KEY: Your Jina.ai API key (required)

API

The server implements a single MCP tool with configurable parameters:

search

Search the web and get clean, LLM-friendly content using Jina.aiReader. Returns top 5 results with URLs and clean content.

Parameters:

  • query (string, required): Search query
  • format (string, optional): Response format ("json" or "text").Defaults to "text"
  • no_cache (boolean, optional): Bypass cache for fresh results.Defaults to false
  • token_budget (number, optional): Maximum number of tokens for thisrequest
  • browser_locale (string, optional): Browser locale for renderingcontent
  • stream (boolean, optional): Enable stream mode for large pages.Defaults to false
  • gather_links (boolean, optional): Gather all links at the end ofresponse. Defaults to false
  • gather_images (boolean, optional): Gather all images at the end ofresponse. Defaults to false
  • image_caption (boolean, optional): Caption images in the content.Defaults to false
  • enable_iframe (boolean, optional): Extract content from iframes.Defaults to false
  • enable_shadow_dom (boolean, optional): Extract content from shadowDOM. Defaults to false
  • resolve_redirects (boolean, optional): Follow redirect chains tofinal URL. Defaults to true

Development

Setup

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Build the project:
pnpm run build
  1. Run in development mode:
pnpm run dev

Publishing

  1. Create a changeset:
pnpm changeset
  1. Version the package:
pnpm version
  1. Build and publish:
pnpm release

Contributing

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

License

MIT License - see the LICENSE file for details.

Acknowledgments

MCP Server · Populars

MCP Server · New

    vanshyadav1408

    Omentir

    Open Source HeyReach & Gojiberry alternative

    Community vanshyadav1408
    irinabuht12-oss

    Google Ads MCP + Meta Ads MCP (Facebook Ads MCP) + GA4: one hosted MCP server for Claude, ChatGPT and Cursor

    Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Claude, ChatGPT, Cursor & n8n: 250+ tools, OAuth login, no API keys, approval-gated writes, free. By Ryze AI.

    Community irinabuht12-oss
    silamir

    BoondManager MCP Server

    Serveur MCP pour l'API BoondManager (ERP/CRM des ESN) : 182 outils, 12 prompts et 22 ressources pour piloter candidats, consultants, opportunités, projets, CRA, notes de frais et facturation depuis Claude. TypeScript, transports stdio et HTTP (OAuth2). Un projet Silamir.

    Community silamir
    infino-ai

    supergrep

    Retrieval + inference offload for AI coding agents.

    Community infino-ai
    SylphxAI

    anymd

    Any file → clean Markdown for AI agents: PDF, Word, PowerPoint, Excel, EPUB, HTML and web pages, images (OCR), audio and video (metadata, subtitles, transcripts). A fast Rust MCP server and CLI that runs on your machine. No API key.

    Community SylphxAI