Jina AI MCP server for AI agents

Live

BEARER TOKEN

WEB SEARCH

AI

Jina AI gives your agent web search and document AI in your Jina AI account: search the web, read pages and PDFs, run DeepSearch research, create embeddings, rerank documents, and classify text.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Jina AI
agent · Acme Q3
Run
Read this article and give me the main content.
S
jinaai_url_read
1260ms
Research agent
Read the page and returned its main content in an LLM-friendly format.
Sources: Jina Reader, 1 page
jinaai
1 page
18:29
Message Claude...

Tools your search and retrieval agent reaches for on Jina AI, scoped per user.

CALL ANY TOOL
18 tools for search and retrieval in Jina AI: search the web, read URLs, run DeepSearch, create embeddings, rerank documents, classify text, and manage embedding batch jobs.
jinaai_classifier_train
Classifier train
Create a few-shot Jina classifier from labelled examples, or add examples to an existing one. Returns the classifier_id and the number of samples trained on. Use this when zero-shot labels are not accurate enough. Then call jinaai_text_classify with the classifier_id.
Parameters
Name
Type
Required
Description
input
array
Required
Labelled training examples. Each is an object with text (or image) and label. Labels are free names and need no meaning, up to 16 classes. Example: [{"text": "I can't log into my account after the update.", "label": "team1"}, {"text": "Please update my billing address.", "label": "team2"}]
access
string
Optional
Who can use a new classifier: private (default, only your API key) or public (anyone with the ID, on their own quota). Example: private. One of: `private`, `public`.
classifier_id
string
Optional
ID of an existing classifier to keep training with more examples. Leave empty to create a new classifier. Example: 918c0846-d6ae-4f34-810d-c0c7a59aee14
model
string
Optional
Embedding model the new classifier is built on. Required when creating a classifier; leave empty when updating one with classifier_id. Example: jina-embeddings-v3. One of: `jina-embeddings-v3`, `jina-embeddings-v4`, `jina-clip-v2`.
num_iters
integer
Optional
Training passes over these examples (default 10). Higher values weigh these examples more. Example: 10
jinaai_deepsearch_chat
Deepsearch chat
jinaai_document_transcribe
Document transcribe
jinaai_documents_rerank
Documents rerank
jinaai_embedding_batch_cancel
Cancel embedding batch
jinaai_embedding_batch_create
Create embedding batch
jinaai_embedding_batch_errors_get
Get embedding batch errors
jinaai_embedding_batch_get
Get embedding batch
jinaai_embedding_batch_output_get
Get embedding batch output
jinaai_embedding_batches_list
List embedding batches
jinaai_embeddings_create
Create embeddings
jinaai_model_get
Get model
jinaai_models_list
List models
jinaai_text_classify
Text classify
jinaai_text_segment
Text segment
jinaai_url_read
Read url
jinaai_url_screenshot
Url screenshot
jinaai_web_search
Search web
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Jina AI tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["jinaai"], toolNames: [
    "jinaai_web_search",
    "jinaai_url_read",
    "jinaai_documents_rerank"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Search the web for RAG evaluation guides, read the top result, and rerank the passages against my question" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["jinaai"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Search the web for RAG evaluation guides, read the top result, and rerank the passages against my question" }],
  tools,
});

// Execute the tool call with the user's vaulted Jina AI access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["jinaai"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Search the web for RAG evaluation guides, read the top result, and rerank the passages against my question" }],
  tools,
});

// Tool call runs with the user's vaulted Jina AI access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["jinaai"] }, pageSize: 100,
});

const agent = new Agent({
  name: "research_agent",
  model: "gemini-2.5-pro",
  instruction: "Jina AI tools scoped to this user",
  tools,
});

await agent.run("Search the web for RAG evaluation guides, read the top result, and rerank the passages against my question");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Jina AI tool. Click to copy, paste into your agent, done.
Web and pages
Copy the prompt
Copied
Search the web for the latest research on retrieval augmented generation.
Copy the prompt
Copied
Read this URL and return the main content.
Copy the prompt
Copied
Take a screenshot of this web page.
Research and reranking
Copy the prompt
Copied
Use DeepSearch to compare two vector databases.
Copy the prompt
Copied
Rerank these 10 documents by relevance to my query.
Copy the prompt
Copied
Transcribe this document page image to markdown.
Embeddings and classification
Copy the prompt
Copied
Create embeddings for these 5 text snippets.
Copy the prompt
Copied
Submit a batch embedding job for this large set of texts.
Copy the prompt
Copied
Classify these support messages as bug, billing, or feature request.
SEE HOW AUTH WORKS
Each user connects their own Jina AI access token once; Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Jina AI
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Jina AI
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Jina AI
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Jina AI
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and search connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other AI and search connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Jina AI access token looks fine in a demo. In production every search and embedding call looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Jina AI today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Jina AI as the user or through a shared access token?
As the user. Each user connects their own Jina AI access token once, and Scalekit sends it with every call. Audit logs attribute every search and embedding call to that user, not a shared service account.
Where is the Jina AI access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Jina AI?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search and read tools without jinaai_embedding_batch_cancel, which cancels a pending or processing batch job. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Jina AI access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent run a large embedding job?
jinaai_embedding_batch_create submits the texts as an asynchronous batch job and returns a batch_id. jinaai_embedding_batch_get reports its status, and jinaai_embedding_batch_output_get downloads the results once the job completes.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""jinaai"": {
""url"": ""https://mcp.scalekit.com/jinaai"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.jinaai]
url = ""https://mcp.scalekit.com/jinaai""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""jinaai"": {
""url"": ""https://mcp.scalekit.com/jinaai"",
""type"": ""http""
}
}
}