ai
Jina AI MCP, CLI, and Lua Integration for AI Agents
Jina AI integration docs for AI agents: MCP gateway setup, Jina AI CLI commands, Lua API reference, credentials, and function schemas.
5 functions 5 read 0 write API key auth
Jina AI for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
jinaai- route_slug
jinaai- package
jinaai- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Jina AI CLIHeadless setup and direct function calls. Jina AI MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Jina AI MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Jina AI.
Claude Code Jina AI MCP setup for Claude Code. Cursor Jina AI MCP setup for Cursor. Codex Jina AI MCP setup for Codex. OpenAI Agents Jina AI MCP setup for OpenAI Agents SDK. Claude Agent SDK Jina AI MCP setup for Claude Agent SDK. Vercel AI SDK Jina AI MCP setup for Vercel AI SDK. LangChain Jina AI MCP setup for LangChain. LangGraph Jina AI MCP setup for LangGraph. CrewAI Jina AI MCP setup for CrewAI. MCP clients Jina AI MCP setup for Generic MCP Clients.
Jina AI CLI Matrix
Use these pages for direct Jina AI CLI workflows in scripts, CI, cron, and agent wrappers.
CI Jina AI CLI for CI. Cron Jobs Jina AI CLI for cron jobs. Shell Scripts Jina AI CLI for shell scripts. Headless Automation Jina AI CLI for headless automation. Coding Agents Jina AI CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
jinaai.jinaai_search | Read read | 1 | Search the web using Jina AI. Returns search results with titles, URLs, descriptions, and extracted content. Useful for finding up-to-date information on any topic. |
jinaai.jinaai_read | Read read | 1 | Read and extract clean content from a URL using Jina AI Reader. Returns the main text content of a web page, stripping away navigation, ads, and other clutter. Useful for reading articles, documentation, or any web page. |
jinaai.jinaai_ground | Read read | 2 | Ground a statement against provided context using Jina AI. Verifies whether a claim or statement is supported by the given reference text. Returns grounding results indicating which parts of the statement are supported or contradicted. |
jinaai.jinaai_embeddings | Read read | 2 | Generate text embeddings using Jina AI. Converts text into dense vector representations useful for semantic search, similarity comparison, clustering, and retrieval-augmented generation (RAG). |
jinaai.jinaai_rerank | Read read | 4 | Rerank documents by relevance to a query using Jina AI. Takes a query and a list of text documents, then returns them sorted by relevance with scores. Useful for improving search results or filtering the most relevant content. |