The Hermes Search MCP server provides a bridge between AI systems and data sources using the Model Context Protocol, enabling full-text and semantic search capabilities over your data through Azure Cognitive Search. This server allows AI clients like Claude to search, index, and manage documents stored in your Azure search service.
Before installing the Hermes Search MCP server, ensure you have:
The simplest way to run the server is using NPX:
npx -y hermes-search-mcp@latest
You can also install the server automatically for Claude Desktop using Smithery:
npx -y @smithery/cli install @hermes-search/mcp --client claude
# For macOS:
code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
# For Windows:
code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"hermes-search-mcp": {
"command": "npx",
"args": ["-y", "hermes-search-mcp@latest"],
"env": {
"AZURE_SEARCH_ENDPOINT": "your-search-endpoint",
"AZURE_SEARCH_API_KEY": "your-api-key",
"AZURE_SEARCH_INDEX_NAME": "your-index-name"
},
"disabled": false,
"autoApprove": []
}
}
}
Note: Requires Cursor version 0.45.6 or higher
env AZURE_SEARCH_ENDPOINT=your-search-endpoint AZURE_SEARCH_API_KEY=your-api-key AZURE_SEARCH_INDEX_NAME=your-index-name npx -y hermes-search-mcp@latest
# For macOS:
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
# For Windows:
code %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hermes-search-mcp": {
"command": "npx",
"args": ["-y", "hermes-search-mcp@latest"],
"env": {
"AZURE_SEARCH_ENDPOINT": "your-search-endpoint",
"AZURE_SEARCH_API_KEY": "your-api-key",
"AZURE_SEARCH_INDEX_NAME": "your-index-name"
}
}
}
}
After configuring your client, completely close and reopen it to apply the changes. You should see a search icon in the bottom left of the Claude Desktop app, indicating that the MCP tools are available.
Search for documents containing "machine learning" in the Azure Cognitive Search index, returning the top 10 results.
Index the following documents into Azure Cognitive Search: [{"id": "1", "title": "AI Overview", "content": "Artificial Intelligence is..."}]
Delete the current Azure Cognitive Search index.
Server Not Found
npm --version
node --version
Azure Search Credential Issues
Index Access Issues
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "hermes-search-mcp" '{"command":"npx","args":["-y","hermes-search-mcp@latest"],"env":{"AZURE_SEARCH_ENDPOINT":"your-search-endpoint","AZURE_SEARCH_API_KEY":"your-api-key","AZURE_SEARCH_INDEX_NAME":"your-index-name"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"hermes-search-mcp": {
"command": "npx",
"args": [
"-y",
"hermes-search-mcp@latest"
],
"env": {
"AZURE_SEARCH_ENDPOINT": "your-search-endpoint",
"AZURE_SEARCH_API_KEY": "your-api-key",
"AZURE_SEARCH_INDEX_NAME": "your-index-name"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"hermes-search-mcp": {
"command": "npx",
"args": [
"-y",
"hermes-search-mcp@latest"
],
"env": {
"AZURE_SEARCH_ENDPOINT": "your-search-endpoint",
"AZURE_SEARCH_API_KEY": "your-api-key",
"AZURE_SEARCH_INDEX_NAME": "your-index-name"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect