Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A jina.ai plugin for simonw's llm cli featuring search, fact checking, embedding, reranking and more
Jump to setup instructionsFetched from the repository for this visit.
LLM Plugin for Jina AI: Powerful AI-powered interactions across multiple domains.
The llm-jina plugin integrates Jina AI services with Simon Willison's llm CLI tool, providing a comprehensive set of AI-powered capabilities directly accessible from the command line.
<<<<<<< HEAD
origin/main
pip install llm-jina
# or
llm install llm-jina
Set your Jina AI API key:
export JINA_API_KEY=your_api_key_here
You can get a Jina AI API key from jina.ai.
llm jina read https://example.com/article
llm jina read https://blog.jina.ai --links
llm jina read https://docs.python.org/3/ --format markdown
llm jina embed "Your text here"
llm jina embed "Compare similarity using embeddings" --model jina-embeddings-v3
llm jina rerank "machine learning" "Document about NLP" "Paper on computer vision" "Article about ML"
llm jina segment "Long text to be split into chunks" --return-chunks
llm jina classify "I love this product!" --labels positive,negative,neutral
llm jina classify --image cat.jpg dog.jpg --labels cat,dog
llm jina websearch "History of the internet"
You can limit the search to a specific domain:
llm jina websearch "Python programming tutorials" --site docs.python.org
Example with multiple options:
llm jina websearch "Climate change impacts" --site nasa.gov --with-links --with-images
Segment text into tokens or chunks:
llm jina segment --content "Space: the final frontier. These are the voyages of the starship Enterprise. Its five-year mission: to explore strange new worlds. To seek out new life and new civilizations. To boldly go where no man has gone before
In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep." --tokenizer cl100k_base --return-chunks
Example response:
{
"chunks": [
"Space: the final frontier. These are the voyages of the starship Enterprise. Its five-year mission: to explore strange new worlds. To seek out new life and new civilizations. To boldly go where no man has gone before\n",
"In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep."
]
}
Classify inputs into given labels:
llm jina classify "The movie was amazing! I loved every minute of it." "The acting was terrible and the plot made no sense." --labels positive negative neutral
For image classification:
llm jina classify path/to/cat.jpg path/to/dog.jpg path/to/bird.jpg --labels feline canine avian --image
llm jina metaprompt
Use the metaprompt to generate code for a specific task:
llm jina metaprompt | llm "Write a script to use jina_ai to classify images of cats and dogs."
Contributions welcome! Please read the contributing guidelines.
Run the test suite:
pip install -e ".[dev]"
pytest
Apache 2.0
GitHub checked 160h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.