MCPのロゴ

MCP

組織
jina-ai

Official Jina AI Remote MCP Server

公開者jina-ai
リポジトリMCP
言語TypeScript
フォーク
94
スター
866
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには866件のスターと94件のフォークがあります。

Jina AI Remote MCP Server

A remote Model Context Protocol (MCP) server for the Jina Reader, Search, Embeddings and Reranker APIs:

Usage

[!WARNING] Some clients do not support env variable, so you may need to replace ${JINA_API_KEY} below to a hardcoded real API key jina_xxx.

For client that supports remote MCP server:

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "url": "https://mcp.jina.ai/v1",
      "headers": {
        "Authorization": "Bearer ${JINA_API_KEY}" // optional
      }
    }
  }
}

For Claude Code:

bash
claude mcp add -s user --transport http jina https://mcp.jina.ai/v1 \
  --header "Authorization: Bearer ${JINA_API_KEY}"

For OpenAI Codex: find ~/.codex/config.toml and add the following:

toml
[mcp_servers.jina-mcp-server]
command = "npx"
args = [
    "-y",
    "mcp-remote",
    "https://mcp.jina.ai/v1",
    "--header",
    "Authorization: Bearer ${JINA_API_KEY}"]

For client that does not support remote MCP server yet, you need mcp-remote a local proxy to connect to the remote MCP server.

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.jina.ai/v1",
        "--header",
        "Authorization: Bearer ${JINA_API_KEY}"
      ]
    }
  }
}

Available tools

ToolDescriptionIs Jina API Key Required?
primerGet current contextual information for localized, time-aware responsesNo
read_urlRead a web page or PDF as markdown. Pass question for passages instead of the full body via Reader APIOptional*
capture_screenshot_urlCapture a screenshot of a web page via Reader APIOptional*
guess_datetime_urlGuess a page's publish or last-update datetime, with a confidence scoreNo
search_webSearch the web. Returns titles, URLs and engine snippets via Reader APIYes
search_arxivSearch academic papers and preprints on arXiv repository via Reader APIYes
search_ssrnSearch academic papers on SSRN (Social Science Research Network) via Reader APIYes
search_imagesSearch the web for images via Reader APIYes
search_jina_blogSearch Jina AI news and blog posts at jina.ai/newsNo
sort_by_relevanceRerank documents by relevance to a query via Reranker APIYes
deduplicate_stringsGet top-k semantically unique strings via Embeddings API and submodular optimizationYes
extract_pdfExtract figures, tables, and equations from PDF documents (arXiv papers or any PDF URL) using layout detectionYes

Optional tools work without an API key at rate limits. Use a key for higher limits. Free keys: https://jina.ai

Tool Filtering before Registering

Registering a tool costs context tokens for its name, description and schema whether or not it is called. With 12 tools, that budget is spent before the first request.

Filtering server-side through query parameters on the endpoint URL (/v1?...) excludes tools before registration, so the client never sees them.

Query Parameters

ParameterDescriptionExample
exclude_toolsComma-separated tool names to excludeexclude_tools=search_web,search_arxiv
include_toolsComma-separated tool names to includeinclude_tools=read_url,search_web
exclude_tagsComma-separated tags to excludeexclude_tags=search,rerank
include_tagsComma-separated tags to includeinclude_tags=search,read
max_tokensCap read_url response size in tokens. 0 disables truncationmax_tokens=50000

Available Tags

TagTools
searchsearch_web, search_arxiv, search_ssrn, search_images, search_jina_blog
readread_url, capture_screenshot_url
utilityprimer, guess_datetime_url, extract_pdf
reranksort_by_relevance, deduplicate_strings

Precedence

Filters are applied in this order (highest to lowest priority):

  1. exclude_tools - Always excludes specified tools
  2. exclude_tags - Excludes tools in specified tags
  3. include_tools - Includes specified tools
  4. include_tags - Starts with only tools in specified tags

Examples

Exclude the rerank and utility tags:

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "url": "https://mcp.jina.ai/v1?exclude_tags=rerank,utility",
      "headers": {
        "Authorization": "Bearer ${JINA_API_KEY}"
      }
    }
  }
}

Only include search and read tools:

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "url": "https://mcp.jina.ai/v1?include_tags=search,read",
      "headers": {
        "Authorization": "Bearer ${JINA_API_KEY}"
      }
    }
  }
}

Exclude specific tools:

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "url": "https://mcp.jina.ai/v1?exclude_tools=search_ssrn,search_images",
      "headers": {
        "Authorization": "Bearer ${JINA_API_KEY}"
      }
    }
  }
}

Troubleshooting

I got stuck in a tool calling loop - what happened?

This is a common issue with LMStudio when the default context window is 4096 and you're using a thinking model like gpt-oss-120b or qwen3-4b-thinking. As thinking and tool calling continue, the run hits the context limit, the model loses the start of the task, and it loops.

Load the model with enough context length to hold the whole tool-calling chain.

set long enough context

I can't see all tools.

Some MCP clients have local caching and do not actively update tool definitions. If tools are missing or look outdated, remove and re-add the jina-mcp-server to force a refresh of the cached definitions. In LMStudio, you can click the refresh button to load new tools.

update local mcp clients

Claude Desktop says "Server disconnected" on Windows

Cursor and Claude Desktop (Windows) have a bug where spaces inside args aren't escaped when it invokes npx, which ends up mangling these values. You can work around it using:

json
{
  // rest of config...
  "args": [
    "mcp-remote",
    "https://mcp.jina.ai/v1",
    "--header",
    "Authorization:${AUTH_HEADER}" // note no spaces around ':'
  ],
  "env": {
    "AUTH_HEADER": "Bearer <JINA_API_KEY>" // spaces OK in env vars
  }
},

Cursor shows a red dot on this MCP status

Likely a Cursor UI bug. The MCP works. Toggling off/on clears the dot; on a remote MCP that restarts the local proxy, not a server.

cursor shows red dot

My LLM never uses some tools

If all tools are enabled but the model still ignores some, that is expected: models call the tools they were trained on. Some research says LLMs must be trained to use a tool family. In Cursor, add this rule to a .mdc file:

text
---
alwaysApply: true
---

When you are uncertain about knowledge, or the user doubts your answer, always use Jina MCP tools to search and read best practices and latest information. Use search_arxiv and read_url together when questions relate to theoretical deep learning or algorithm details. Use search_ssrn for social sciences, economics, law, and finance research. search_web, search_arxiv, and search_ssrn cannot be used alone - always follow with read_url on the result URLs. One read_url call can take up to 5 URLs at once.

Why is my content truncated?

Claude Code, Claude Desktop, and Cursor enforce a fixed 25k token limit on MCP tool responses. To stop these clients from rejecting a large response outright, this server applies a token guardrail to read_url.

Items are kept whole, in order, while they fit. The first that does not fit is cut to a prefix that does, and later items are dropped. A [jina-mcp] ... note records what was truncated or omitted, so a partial document is marked partial. At least one item always survives, even one over budget.

The server targets below the limit. It counts tokens with cl100k, the client with its own tokenizer, the cut is a proportional character estimate, and the client measures the serialized JSON payload instead of the raw text. It therefore also enforces a ceiling of 3 bytes per allowed token, which holds across tokenizers for ASCII prose (~3.6 bytes/token) and CJK (~3 bytes/token). Cutting short loses part of the content. A rejected response loses all of it.

Any client can set its own budget with max_tokens on the endpoint URL (for example https://mcp.jina.ai/v1?max_tokens=50000), and max_tokens=0 disables truncation entirely. Clients with configurable limits, such as OpenAI Codex (tool_output_token_limit), are otherwise left alone.

Several queries or URLs in one call

search_web, search_arxiv, search_ssrn and read_url take a string or an array on query / url. An array runs every item concurrently in a single round trip. search_images takes one query at a time.

jsonc
{ "url": ["https://react.dev/reference/react/useState",
          "https://docs.python.org/3/library/functions.html"],
  "question": "what does the hook or built-in return" }

Arrays cap at 5 entries, enforced by the schema. withAllLinks, withAllImages, question, chunk_size, topk, ocr and page are set once for the whole array, not per entry: every URL in the call gets the same question, and a multi-page OCR needs one call per page.

Why is the endpoint called /sse but using Streamable HTTP?

The /sse endpoint URL is kept for backward compatibility with existing users. The recommended endpoint is now /v1. Both use the same Streamable HTTP transport (the new MCP standard from spec 2025-03-26), not the deprecated SSE transport.

This works because:

  • Claude Desktop, Cursor, Windsurf use mcp-remote which defaults to http-first strategy (tries Streamable HTTP first)
  • Claude Code has native support for both transports
  • LM Studio supports direct connection to Streamable HTTP endpoints

The response streaming still uses SSE format (Content-Type: text/event-stream), but the protocol layer (session management, initialization) follows Streamable HTTP spec. All major MCP clients are compatible.

Client-side tool filtering with mcp-remote

If you're using mcp-remote as a local proxy, you can also filter tools client-side using its --ignore-tool flag:

json
{
  "mcpServers": {
    "jina-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.jina.ai/v1",
        "--header",
        "Authorization: Bearer ${JINA_API_KEY}",
        "--ignore-tool", "search_images",
        "--ignore-tool", "search_ssrn",
        "--ignore-tool", "extract_pdf"
      ]
    }
  }
}

This filters at the proxy level before tools reach the client. Server-side filtering via query parameters (see Tool Filtering) is cheaper, because the tokens are never sent.

Reading a page with a question in mind

read_url returns the whole page. Pass question and the page is chunked, its passages are scored against the query by Reranker v3.5, and only the highest-scoring ones are returned.

ParameterDefaultEffect
question(unset)Unset returns the full page. Set returns passages instead of content.
chunk_size100Target passage size in words, split at sentence boundaries, so a target, not a hard cut. Counted in words in every script. 1-4096.
topk1Passages to keep, best first. 1-50.

question gates the other two. Without it the response is unchanged from a plain read.

jsonc
// full page: 69,530 bytes
{ "url": "https://www.paulgraham.com/greatwork.html" }

// passages: 1,195 bytes
{ "url": "https://www.paulgraham.com/greatwork.html",
  "question": "Why are new ideas hard to see?", "topk": 3, "chunk_size": 50 }

Response shape: question, snippets, snippet_source: content, no content. snippets is one element holding up to topk passages joined by …. No score is returned, so relevance cannot be thresholded here. Ladder measured at chunk_size=40: topk 1 gives 433 bytes and no separator, 2 gives 699 bytes and one separator, 5 gives 1,537 bytes and one separator. Fewer than topk passages can come back.

If extraction cannot run — empty page, unreadable page, no API key to rank with — the full body comes back with snippet_source: full_content and a note.

Byte cost, same URL, same endpoint, bytes of returned text:

pageplain readwith question
docs.python.org/3/library/functions.html83,786874
en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)12,295912
paulgraham.com/greatwork.html69,5301,195

Measured against a local wrangler dev of this repo with an API key. r.jina.ai returns different sizes for the same URL, so do not mix the two sets.

Verified on this build: Python docs, Chinese Wikipedia, React references, GitHub READMEs, arXiv PDFs, essays. Compound questions worked here too (the os.path query returned both the join rule and the splitext example, and Beijing returned both population and area), so ask one thing per call as a habit, not because every multi-part question fails.

Reproduced failure modes. The response does not flag any of these:

  • Positional questions fail. Ranking matches text, not document order. raw.githubusercontent.com/vitejs/vite/main/packages/vite/CHANGELOG.md is 283,749 bytes and opens with ## [8.3.0] ... (2026-09-10). Asked for the latest released version, it returned 1,008 bytes containing 6.0.0 and no 8.3.0 at all. Read the first screen for latest, first, current.
  • Tables, fenced code and page furniture are removed before ranking. read.ts says so and it holds: the GDP list page is 12,295 bytes through read_url and contains Japan but not 4,379,253. Asked for Japan's figure, question returned the map colour legend, $1–5 trillion $750 billion – $1 trillion …. A number that lives in a table is not reachable this way.
  • Inline code loses tokens. curl -fsSL https://bun.sh/install | bash came back as curl -fsSL | bash. Never run a command copied out of a passage without checking the source.
  • Blocked pages return their login wall as content. x.com/jina_ai returned 315 bytes of Log inSign up … hasn't posted with snippet_source: content and no error.
  • chunk_size is not monotonic. 50 returned 521 bytes opening on the answer (And yet empirically having new ideas is hard.); 400 returned 2,260 bytes opening off-topic (But the relationship is closer than that.). Use 40-70 for commands, signatures and numbers, 150-200 for explanation.

A question-grounded read gets a 60s budget against 30s for a plain read, because chunking and reranking run after the fetch. The same 60s applies to a URL array carrying a question.

Reading a scanned document or a PDF

A plain read parses HTML. It returns nothing useful when the text is not in the markup (scanned pages, image-only PDFs), and flattens formulas and table structure otherwise. Pass ocr and the rendered page goes through jina-ocr-v1 as an image, returning Markdown with formulas and tables intact.

jsonc
{ "url": "https://arxiv.org/pdf/2609.03181", "ocr": true }            // page 1
{ "url": "https://arxiv.org/pdf/2609.03181", "ocr": true, "page": 2 } // page 2

One page per call. Page 1 unless page says otherwise, so a long document needs one call per page. Measured on arXiv 2609.03181, a 20-page paper:

bytes returnedtokens billed
plain read49,466 (whole PDF)13,864
ocr: true2,963 (page 1)61,520
ocr: true, page: 22,749 (page 2)62,720

Off by default, because OCR bills more tokens per page than a plain read costs per document. Turn it on when the HTML path fails or the layout matters. page is shared across a URL array, so several pages of one document take one call each.

Functions have been removed in v1.10.0

The following tools has been proved not effective or simply broken.

ToolUse instead
search_web_deepsearch_web, then read_url with question on the pages you pick
parallel_search_web, parallel_search_arxiv, parallel_search_ssrn, parallel_read_urlpass an array to query / url on the singletons
expand_queryrewrite the query yourself; the endpoint returned one near-copy of the input
classify_textclassify with the model; label scores differed by ~0.006, which is noise
deduplicate_imagesthe response carried base64 JPEG data, not just the selected items
search_bibtexread the citation from the publisher or DBLP page directly; both backends were failing live
show_api_keynothing. It returned the bearer token into the conversation

Developer Guide

Local Development

bash
# Clone the repository
git clone https://github.com/jina-ai/MCP.git
cd MCP

# Install dependencies
npm install

# Start development server
npm run start

Deploy to Cloudflare Workers

Deploy to Workers

This will deploy your MCP server to a URL like: jina-mcp-server.<your-account>.workers.dev/v1

インストール

TypingMind
{
  "mcpServers": {
    "jina-ai-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.jina.ai/sse",
        "--header",
        "Authorization: Bearer ${JINA_API_KEY}"
      ]
    }
  }
}

MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "jina-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jina-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCPを使ってこのタスクを手伝ってもらえますか?
MCP
はい、読みました。
MCPで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

MCPがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックしてください。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にhttps://mcp.jina.ai/sseを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にhttps://mcp.jina.ai/sseを貼り付けてください。
  2. MCPの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックしてください。
  2. MCPコネクタの一覧に戻ってください。
  3. MCPの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でMCPのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でMCPのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCPを使ってこのタスクを手伝ってもらえますか?
MCP
はい、読みました。
MCPで調べた結果をお伝えします。

よくある質問

MCP MCPサーバーは何に使いますか?

MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでMCP MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCPを利用できます。

TypingMindでMCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP MCPをTypingMindに接続するにはどうすればよいですか?

MCPは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでMCP MCPのどのようなツールを利用できますか?

MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇