data
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.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.
Agent Surfaces
Machine-Readable Metadata
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 | 3 | 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. |
jinaai.jinaai_classify | Read read | 5 | Classify text or image inputs using Jina AI Classifier. Provide labels for zero-shot classification or classifier configuration for few-shot classification. |
jinaai.jinaai_segment | Read read | 5 | Tokenize or segment long text using Jina AI Segmenter before embedding, reranking, or LLM processing. |