Skip to main content
Glama

ZeroEntropy Zerank MCP Server

by jbccc

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

npm install

Usage

Standalone Node.js Server

Run the MCP server using stdio transport:

npm start

Or for development with auto-reload:

npm run dev

Cloudflare Workers Deployment

  1. Install Wrangler CLI:
npm install -g wrangler
  1. Login to Cloudflare:
wrangler login
  1. Deploy the worker:
wrangler deploy

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 with index and relevance_score

Example:

{ "query": "machine learning algorithms", "documents": [ "Neural networks are a type of machine learning model", "Cooking recipes for pasta dishes", "Supervised learning techniques in AI" ], "api_key": "your-api-key" }

Environment

  • Node.js 18.0.0 or higher
  • ZeroEntropy API access

License

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. Features
    1. Installation
      1. Usage
        1. Standalone Node.js Server
        2. Cloudflare Workers Deployment
      2. API
        1. get_reranking
      3. Environment
        1. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Allows AI to interact with your Zotero library.
            Last updated -
            5
            19
            123
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            Enables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.
            Last updated -
            15
            36
            TypeScript
          • -
            security
            F
            license
            -
            quality
            An 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
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            Enables 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 -
            627
            TypeScript
            Apache 2.0

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/jbccc/zeroentropy-zerank-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server