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

-
security - not tested
F
license - not found
-
quality - not tested

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
            72
            34
            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 -
            62
            32
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.
            Last updated -
            3
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            Provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
            Last updated -
            62
            TypeScript
            MIT License
            • Apple

          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