Jina AI MCP Tools

by PsychArch

Recommended
1.9k downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.

Details

Author
PsychArch
Downloads
1,850
Categories
Search, Other, AI

- Extract web page content via jina_reader
- Search the web with jina_search
- Verify factual statements using jina_fact_check
- Integrates seamlessly with Cursor editor
- Supports multiple output formats (Markdown, HTML, Text)
- Uses Jina AI Search Foundation APIs (r.jina.ai, s.jina.ai, g.jina.ai)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Jina AI MCP Tools
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npx jina-mcp-tools and set the JINA_API_KEY environment variable. For use with Cursor editor, create a .cursor/mcp.json file with the command and API key. Once configured, Cursor's Agent automatically uses the tools, or you can explicitly instruct it.

jina_reader

Read and extract content from web page.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "jina ai mcp tools": {
            "jina-mcp-tools": {
                "command": "npx",
                "args": [
                    "jina-mcp-tools"
                ],
                "env": {
                    "JINA_API_KEY": "your_jina_api_key_here"
                }
            }
        }
    }
}

McpServers

{
    "jina-mcp-tools": {
        "command": "npx",
        "args": [
            "jina-mcp-tools"
        ],
        "env": {
            "JINA_API_KEY": "your_jina_api_key_here"
        }
    }
}

Web search and page reading for coding agents. Two tools, no tool-catalog buffet.

jina-mcp-toolsis an unofficial, deliberately smallModel Context Protocol (MCP)server built onJina AI Reader and Search.

It gives Codex, Claude Code, and other coding agents the two web capabilities they usually need while programming:

- Find a small set of relevant pages.
- Read the pages that actually matter.

That is the whole menu. No embeddings, screenshotting, image search, classification, reranking, or PDF archaeology. Those are useful tools—just not always useful tools to carry into every coding session.

[!NOTE] This is an unofficial community project. It is not affiliated with or endorsed by Jina AI, and it uses Jina AI APIs rather than replacing them.

Jina already provides an excellentofficial MCP serverandofficial CLI. They are designed to expose a broad range of Jina capabilities. This project makes a different tradeoff: it treats context space and tool-selection attention as resources worth saving.

MCP tool definitions typically enter an agent's context before the real work begins. A broad catalog is valuable when the agent needs it; for everyday programming research, it can be more menu than meal.jina-mcp-toolsexposes at most two focused tools and follows one deliberately boring workflow:
- Search the web and receive a short list of results.
- Pick the useful URLs.
- Read those pages, one manageable page at a time.
- Get back to the code.

Boring infrastructure is often very considerate infrastructure.

Choosejina-mcp-toolswhen native MCP integration, a minimal default tool surface, and paginated reading matter most.

Choose theofficial MCP serverwhen you want a hosted endpoint or need its wider capabilities. It can also be narrowed withinclude_toolsorinclude_tags, which is a good option when hosting convenience matters more than running a local process.

Choose theofficial CLIwhen your agent already has reliable shell access and you want Unix composition or the full Jina API suite without registering a large MCP catalog.

- Node.js 20 or later.
- A
Jina AI API keyfor web search. The reader works without a key, subject to Jina's unauthenticated rate limits.

Set the API key in your shell if you want both search and reading:

codex mcp add jina-web --env JINA_API_KEY="$JINA_API_KEY" -- npx -y jina-mcp-tools
claude mcp add --scope user \ --env JINA_API_KEY="$JINA_API_KEY" \ --transport stdio jina-web -- npx -y jina-mcp-tools

Omit the API-key option from either command for reader-only mode.

VS Code stores MCP configuration in a user-profilemcp.jsonor a workspace-level.vscode/mcp.json. Its configuration usesservers, notmcpServers. This example securely prompts for the API key and stores it using VS Code's input-variable support:

{ "inputs": [ { "type": "promptString", "id": "jina-api-key", "description": "Jina AI API key", "password": true } ], "servers": { "jina-web": { "type": "stdio", "command": "npx", "args": ["-y", "jina-mcp-tools"], "env": { "JINA_API_KEY": "${input:jina-api-key}" } } } }

Open the user configuration withMCP: Open User Configuration, or save the file as.vscode/mcp.jsonto share the server configuration with a workspace. Removeenvandinputsfor reader-only mode.

For a reader-only user-profile installation from the command line:

code --add-mcp "{\"name\":\"jina-web\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"jina-mcp-tools\"]}"

Claude Desktop, Cursor, and Other MCP Clients

For clients that use themcpServersJSON format:

{ "mcpServers": { "jina-web": { "command": "npx", "args": [ "-y", "jina-mcp-tools" ], "env": { "JINA_API_KEY": "your_jina_api_key_here" } } } }

The default transport is stdio. Remove theenvblock for reader-only mode.

Extract and read content from a web page.

- url— URL to read (required).
- page— Page number for paginated content (default:1).
- customTimeout— Timeout override in seconds (optional).

- Automatically paginates large documents instead of returning one oversized response.
- Keeps an LRU cache so later pages of the same URL are available immediately.
- Converts GitHub file URLs to raw content URLs.
- Tries directAccept: text/markdownretrieval for a maintained allowlist of documentation and blog hosts, then falls back tor.jina.aiif the response fails or is empty.

The default cache holds 50 URLs, and each page is limited to approximately 15,000 tokens. Both values are configurable.

Search the web and return a lightweight shortlist. Usejina_readerto retrieve the full content of promising results. A Jina API key is required.

Only one search tool is registered, depending on--search-endpoint:

- jina_searchusess.jina.ai(standard, the default).
- jina_search_vipusessvip.jina.ai(vip).

- query— Search query (required).
- count— Number of results (default:5).
- siteFilter— Limit results to a domain such asgithub.com.

The small default result count is intentional: search first, read selectively, and leave some context for the repository you were working on in the first place.

Usage: jina-mcp-tools [options] Options: --transport <stdio|http> Transport type (default: stdio) --host <host> Host/interface in HTTP mode (default: 127.0.0.1) --port <1-65535> HTTP port (default: 3000) --tokens-per-page <positive-int> Tokens per reader page (default: 15000) --search-endpoint <standard|vip> Search endpoint (default: standard) --cache-size <positive-int> Reader cache size in URLs (default: 50) -h, --help Show the built-in help

HTTP mode is intended for self-hosted deployments or clients that cannot spawn a local stdio process.

# Search and reader JINA_API_KEY=your_api_key npx -y jina-mcp-tools \ --transport http \ --host 127.0.0.1 \ --port 3000 # Reader only npx -y jina-mcp-tools --transport http --port 3000

- Codex:codex mcp add jina-web --url http://localhost:3000/mcp
- Claude Code:claude mcp add --transport http jina-web http://localhost:3000/mcp
- MCP Inspector:npx -y @modelcontextprotocol/inspector
- VS Code:code --add-mcp "{\"name\":\"jina-web\",\"type\":\"http\",\"url\":\"http://localhost:3000/mcp\"}"

HTTP mode binds to127.0.0.1by default. For a remote deployment, put the server behind TLS and require a bearer token:

JINA_MCP_HTTP_AUTH_TOKEN=change-me \ npx -y jina-mcp-tools --transport http --host 0.0.0.0 --port 3000

Browser-origin requests are limited to localhost by default. SetJINA_MCP_ALLOWED_ORIGINSto a comma-separated allowlist for browser-based remote clients.

Running the MCP process locally does not make Jina requests offline: search and most reader requests still call Jina AI services. Some allowlisted markdown hosts and GitHub file URLs may be fetched directly.

To route outbound requests through a proxy, enable Node's proxy environment support and provide the proxy URLs:

NODE_USE_ENV_PROXY=1 \ HTTP_PROXY=http://127.0.0.1:7890 \ HTTPS_PROXY=http://127.0.0.1:7890 \ NO_PROXY=localhost,127.0.0.1,::1 \ npx -y jina-mcp-tools

For MCP clients that use themcpServersconfiguration format, include the same environment variables:

{ "mcpServers": { "jina-web": { "command": "npx", "args": ["-y", "jina-mcp-tools"], "env": { "JINA_API_KEY": "your_jina_api_key_here", "NODE_USE_ENV_PROXY": "1", "HTTP_PROXY": "http://127.0.0.1:7890", "HTTPS_PROXY": "http://127.0.0.1:7890", "NO_PROXY": "localhost,127.0.0.1,::1" } } } }

Alternatively, start Node withNODE_OPTIONS=--use-env-proxy. Proxy URLs are only used when proxy environment support is enabled.

This project intentionally does not aim to expose every Jina API. It is not the right choice when you need embeddings, reranking, classification, screenshots, image or academic search, query expansion, deduplication, or structured PDF extraction. Use the officialMCP serverorCLIfor those jobs.

The narrow scope is the feature. If this server grows twenty tools and develops a small cockpit, something has gone terribly wrong.

- GitHub:github.com/PsychArch/jina-mcp-tools
- Issues:
github.com/PsychArch/jina-mcp-tools/issues

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

A connector for the Perplexity API to enable web search within the MCP ecosystem.

Structural AI Search Readiness MCP. Audit, dry-run fixes, rescore, doctor. No LLM rankings.

Perform web searches with the Brave Search API and analyze research papers using Google's Gemini model.

Provides AI-powered web search and summarization using the Gemini API's grounding feature.

Integrate search grounded Gemini output into your workflow.

Generates responses using the Gemini API and Google Search for up-to-date information.

Performs web searches using the Gemini Web Search Tool via the local gemini-cli.

A server providing Google AI-powered search and documentation tools for developers.

Comprehensive web, news, and social media search and analysis using xAI's Grok API.

Enhances LLM responses with factual, real-time web content using Jina AI's grounding capabilities.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.