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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
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 -519123TypeScriptMIT 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 -1536TypeScript
- -securityFlicense-qualityAn API that enables document querying through a Retrieval-Augmented Generation system implemented with Memory-Controller-Policy architecture for improved maintainability and scalability.Last updated -Python
- -securityAlicense-qualityEnables AI assistants to interact with DataForSEO APIs and obtain SEO data including SERP results, keyword research, on-page metrics, backlink analysis, and domain analytics through a standardized interface.Last updated -627TypeScriptApache 2.0