Goldilocks MCP Server
Provides k-point generation tools for Quantum ESPRESSO, enabling estimation of k-point spacing and generation of k-point grids for structure files with configurable confidence levels.
README
Goldilocks MCP server
Provides k-point generation tools for Quantum ESPRESSO with SSSP1.3 PBEsol efficiency version of pseudo-potentials
Tools exposed:
estimate_kpoint_distance
Requires specification path to the structure file, confidence level (models are trained for levels 0.85,0.9, and 0.95), and the model (ALIGNN or RF)
Example prompt: "Can you please generate k-points spacing for structure 'path/to/BaGa4.cif', confidence level 0.95 with ALIGNN model?"
Outputs the predicted k-spacing, and the confidence interval
generate_kpoint_grid
Requires specification path to the structure file, confidence level (models are trained for levels 0.85,0.9, and 0.95), and the model (ALIGNN or RF)
Example prompt: "Can you please generate k-points grid for structure 'path/to/BaGa4.cif', confidence level 0.95 with ALIGNN model?"
Outputs the predicted kmesh, generated using the lower bound of k-spacing interval (to make sure that the probability that predicted value is in agreement with confidence level)
Installing MCP-server locally
-
Install uv (https://docs.astral.sh/uv/getting-started/installation/)
-
Clone repository
git clone https://github.com/stfc/goldilocks-mcp.git
cd goldilocks-mcp
- Create virtual environment and install dependencies
uv venv --python 3.11
source .venv/bin/activate
uv pip install -e .
- Install pytorch-geometric (can't be installed from pyproject.toml but is required). See details https://pytorch-geometric.readthedocs.io/en/latest/install/installation.html
uv pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.8.0+cpu.html
uv pip install torch_geometric
Adding mcp to Claude Desktop
To add goldilocks-mcp to Claude Desktop:
-
Open or create the Claude Desktop configuration file:
- macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows: See instructions at https://modelcontextprotocol.io/docs/develop/build-server
- macOS/Linux:
-
If the file doesn't exist, create it with the content from
claude_desktop_config.json. If it already exists, merge thegoldilocks-mcpentry into the existingmcpServersobject. -
Important: Update the path in the config file. Replace
"absolute/path/to/goldilocks-mcp/goldilocks_mcp/"with the actual absolute path to thegoldilocks_mcpdirectory in your cloned repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.