ZeroEntropy Zerank MCP Server
A Model Context Protocol (MCP) server for document reranking using the ZeroEntropy Zerank API, now implemented in Node.js.
Features
- Document reranking using the ZeroEntropy Zerank API
- Input validation with Zod schemas
- Support for both standalone Node.js server and Cloudflare Workers deployment
- MCP protocol compliance for integration with AI assistants
Installation
Usage
Standalone Node.js Server
Run the MCP server using stdio transport:
Or for development with auto-reload:
Cloudflare Workers Deployment
- Install Wrangler CLI:
- Login to Cloudflare:
- Deploy the worker:
API
The server provides one tool:
get_reranking
Reranks a list of documents based on relevance to a query.
Parameters:
query
(string): The search query (1-10000 characters)documents
(array): Array of documents to rerank (1-1000 items)api_key
(string): ZeroEntropy API key
Returns:
results
(array): Array of reranked results withindex
andrelevance_score
Example:
Environment
- Node.js 18.0.0 or higher
- ZeroEntropy API access
License
MIT
This server cannot be installed
Provides document reranking capabilities via the ZeroEntropy Zerank API, allowing AI assistants to sort documents by relevance to a user query through the Model Context Protocol.
Related MCP Servers
- AsecurityAlicenseAqualityAllows AI to interact with your Zotero library.Last updated -57234TypeScriptMIT License
- -securityFlicense-qualityEnables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.Last updated -6232TypeScript
- -securityAlicense-qualityA Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.Last updated -3PythonMIT License
- -securityAlicense-qualityProvides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.Last updated -62TypeScriptMIT License