MCP.so
Sign In
Servers

Meilisearch MCP Server (Go)

@cnosuke

Go-based MCP server wrapper for Meilisearch, enabling LLMs like Claude to access powerful search capabilities via Model Context Protocol

Overview

What is Meilisearch MCP Server (Go)?

A Go-based wrapper that enables the Meilisearch search engine to function as a Model Context Protocol (MCP) server. It allows large language models (LLMs) like Claude to access Meilisearch’s search capabilities via MCP tools.

How to use Meilisearch MCP Server (Go)?

Install Go 1.24+ and have a running Meilisearch instance. Clone the repository, run make deps and make bin/mcp-meilisearch. Configure connection via config.yml or environment variables. Start with ./bin/mcp-meilisearch server --config config.yml. For Claude Desktop, add an entry to claude_desktop_config.json using stdio with --no-logs and --log flags.

Key features of Meilisearch MCP Server (Go)

  • Lightweight MCP server implemented in Go.
  • Seamless integration with the Meilisearch API.
  • Full MCP protocol compliance.
  • Supports search, index management, and document operations.
  • Easily configurable via YAML or environment variables.

Use cases of Meilisearch MCP Server (Go)

  • Enabling AI assistants to search indexed documents in real time.
  • Managing Meilisearch indexes programmatically through LLM-driven interfaces.
  • Integrating Meilisearch with Claude Desktop or other MCP clients.
  • Performing document CRUD operations via natural language commands.

FAQ from Meilisearch MCP Server (Go)

What are the prerequisites?

Go 1.24 or higher and a running Meilisearch instance (default host http://localhost:7700).

How do I configure the connection to Meilisearch?

Use the config.yml file with meilisearch.host and meilisearch.api_key, or set the MEILISEARCH_HOST and MEILISEARCH_API_KEY environment variables.

How do I use this server with Claude Desktop?

Add an entry to claude_desktop_config.json with the command ./bin/mcp-meilisearch server --no-logs --log <log file path> and set necessary environment variables for Meilisearch.

What tools does the server provide?

It provides tools for health checking (health_check), listing/creating indexes, adding/getting documents, and searching with optional filters, sorting, and pagination.

Does the server support authentication?

Yes, you can provide an API key via the meilisearch.api_key config option or the MEILISEARCH_API_KEY environment variable.

More from Databases