Skip to main content
Glama

Searchcraft MCP Server

Official

The Searchcraft MCP Server allows for easily integrating search into MCP clients. Integrates with things like Claude Desktop, which allows Claude to search for information on the search index that you specify.

Available Tools

ToolDescription
get_search_resultsPerforms search queries on the search index provided. It allows for complex queries based on fuzzy + exact keyword matching, date ranges, and facets.
get_search_index_schemaRetrieves the current search index schema, including schema fields and facet information. Gives the MCP Client additional context about how to construct search queries.
get_searchcraft_statusPerforms a basic health check api request to the Searchcraft service.

Getting Started

Environment Variables

Create .env file at the project's root and fill in the values:

# Server Config USER_AGENT=searchcraft-mcp-server/<project-version> DEBUG=true PORT=3100 # Searchcraft Config ENDPOINT_URL= INDEX_NAME= READ_KEY= INGEST_KEY=

.env sample

You will need a Searchcraft search index. Head to Vektron ↗︎, your command center for creating and configuring indexes, managing settings, and navigating all things Searchcraft.

Running the Server

Install dependencies with yarn

yarn

Build & Start the server

yarn build yarn start

Usage With Claude Desktop

The server must be running in order for Claude Desktop to detect searchcraft-mcp-server's tools.

searchcraft-mcp-server uses StreamableHTTPServerTransport, so in order to connect it to Claude Desktop, we use mcp-remote ↗︎.

In your claude desktop config file, add the following:

claude_desktop_config.json

{ "mcpServers": { "searchcraft": { "command": "npx", "args": [ "mcp-remote", "http://localhost:<MY-PORT-FROM-ENV>/mcp" ] } } }

The claude desktop config file can be found at /Users/[My Workspace]]/Library/Application Support/Claude/claude_desktop_config.json. If no file exists here you can create it.

Claude desktop config example

Debugging

To view claude's logs for debugging purposes, use the npm script:

yarn claude-logs

Inspector Tool

You can view and try out the available tools/prompts/resources using the inspector. While the mcp server is running, you can launch the inspector:

yarn inspect
  • Choose Transport Type: Streamable HTTP
  • Specify the URL that the server is running on, including the port number.
  • Hit "Connect"
http://localhost:<MY-PORT-FROM-ENV>/mcp

The Inspector allows you to view available tools and to try making test calls to them.

Resources

License

Licensed under the Apache 2.0 License.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

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

An MCP server that enables AI assistants like Claude Desktop to search and retrieve information from custom search indexes created with Searchcraft.

  1. Getting Started
    1. Environment Variables
    2. Running the Server
  2. Usage With Claude Desktop
    1. Debugging
      1. Inspector Tool
    2. Resources
      1. License

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          The Search MCP Server enables seamless integration of network and local search capabilities in tools like Claude Desktop and Cursor, utilizing the Brave Search API for high-concurrency and asynchronous requests.
          Last updated -
          1
          52
          Python
          MIT License
          • Linux
        • -
          security
          F
          license
          -
          quality
          An MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.
          Last updated -
          7
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.
          Last updated -
          Python
        • -
          security
          A
          license
          -
          quality
          An MCP server that integrates with Sonar API to provide Claude with real-time web search capabilities for comprehensive research.
          Last updated -
          JavaScript
          MIT License

        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/searchcraft-inc/searchcraft-mcp-server'

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