Jina AI Search
Access Jina AI's Search Foundation APIs for web search, news search, and more, tailored for LLMs.
Jina AI MCP Server (Node.js Version)
An MCP server for Jina AI, providing tools for embeddings, reranking, and generation. This is the Node.js version.
Available Tools
This server provides the following tools, which are direct interfaces to the Jina AI Search Foundation APIs:
embeddings: Creates an embedding vector representing the input text.rerank: Reranks a list of documents based on a query.read: Extracts clean, LLM-friendly content from a single website URL.search: Performs a web search and returns LLM-friendly results.deepsearch: Combines web searching, reading, and reasoning for comprehensive investigation.segment: Splits text into semantic chunks or counts tokens.classify: Performs zero-shot classification for text.get_help: Returns the full Jina AI API documentation used to build this server.
Connecting with MCP Clients
To connect this server to your MCP-compatible client (like Cursor, shell-ai, etc.), you first need to publish this package to NPM or install it from a local path.
Using with npx (After Publishing)
Once the package is published on NPM, you can configure your client to use it with npx. Create a .env file with your JINA_API_KEY in the directory where you run the client, or make sure the environment variable is set.
Example for mcpServers.json:
{
"jina-ai-server": {
"command": "npx",
"args": [
"jina-ai-mcp-server-nodejs"
],
"env": {
"JINA_API_KEY": "your_jina_api_key_here"
}
}
}
Note: Passing the API key via env in the configuration is more secure than a global environment variable.
Local Development
- Clone the repository.
- Install dependencies:
npm install - Create a
.envfile in the root of the project and add your Jina AI API key.echo "JINA_API_KEY=your_jina_ai_api_key_here" > .env - Run the server in development mode:
npm run dev
Docker
Building for Production
To compile the TypeScript code to JavaScript:
npm run build
The compiled output will be in the dist directory.
You can then run the compiled code with:
npm start
Máy chủ liên quan
Ferryhopper MCP Server
The Ferryhopper MCP Server exposes ferry routes, schedules and booking redirects so an AI assistant can discover connections across Europe and the Mediterranean and send users to Ferryhopper to complete bookings.
Semantic Scholar
Search for academic papers, authors, and citations using the Semantic Scholar API.
Search Intent MCP
Analyzes user search keyword intent for SEO support using the AI Search Intent API.
Grok Search
Comprehensive web, news, and social media search and analysis using xAI's Grok API.
Mapbox
Unlock geospatial intelligence through Mapbox APIs like geocoding, POI search, directions, isochrones and more.
Zenn Articles
A server for searching articles on the Zenn blogging platform.
Haloscan MCP Server
An MCP server for interacting with the Haloscan SEO API.
APLCart MCP Server
An MCP server providing semantic search capabilities for APLCart data.
Gemini MCP
Integrate search grounded Gemini output into your workflow.
Enhanced PubMed Search
A search server for PubMed, the biomedical literature database, using a pure Node.js implementation.