About Mcp.science
Mcp.science is an MCP server published by pathintegral-institute in the Developer Tools category: open Source MCP Servers for Scientific Research. Conduid read 54 tools from its source: add, add_cell, add_cell_and_execute_code, analyze_eigenstate, analyze_ground_state, build_supercell and 48 more. No package is published for it, so it installs from a source checkout.
The repository has 159 stars and 30 forks, is licensed MIT, and its last commit was on 27 Feb 2026. The latest release is v0.2.0 (1 Jul 2025): Intro DXT files for existing servers: example-server web-fetch txyz-search python-code-execution tinydb mathematica-check materials-project ssh-exec jupyter-act nemad gp… It is the only release Conduid has on record for this repository. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include science.
Install
git clone https://github.com/pathintegral-institute/mcp.scienceTools (54)
addAdd two numbers.| Parameter | Type | Description |
|---|---|---|
| a * | integer | the first integer to be added |
| b * | integer | the second integer to be added |
add_cellAdd a cell to the notebook. you can add a cell to the notebook with type: code, markdown and raw.| Parameter | Type | Description |
|---|---|---|
| cell_content * | string | the content to add to the cell |
| cell_type * | string | Cell type, should be 'code' or 'markdown' or 'raw' |
| notebook_path * | string | A relative path to the notebook file |
add_cell_and_execute_codeAdd a code cell to the notebook and execute it| Parameter | Type | Description |
|---|---|---|
| code * | string | Code to execute |
| notebook_path * | string | A relative path to the notebook file |
analyze_eigenstateAnalyze a specific eigenstate of a quantum system.| Parameter | Type | Description |
|---|---|---|
| eigenstate_index * | integer | The index of the eigenstate to analyze (0 for ground state, 1 for first excited, etc.) |
| system_id * | string | The ID of the quantum system |
analyze_ground_stateAnalyze the ground state properties of a quantum system.| Parameter | Type | Description |
|---|---|---|
| system_id * | string | The ID of the quantum system |
build_supercellStarting from a bulk_structure in structure_info, build a supercell structure and store it into a new structure_info| Parameter | Type | Description |
|---|---|---|
| bulk_structure_uri * | string | |
| supercell_parameters * | any | a dictionary containing the supercell parameters |
check_calculation_resultCheck the result of a DFT computation.| Parameter | Type | Description |
|---|---|---|
| output_calculation_id * | string | The id of the calculation to be checked. |
| project_uri * | string | The uri of the project. A project is defined by a structure. Each project contains a list of calculations. |
compute_energy_spectrumCompute the energy spectrum of a quantum system.| Parameter | Type | Description |
|---|---|---|
| num_eigenvalues | integer | Number of eigenvalues to compute (default: 10) |
| system_id * | string | The ID of the quantum system |
| which | string | Which eigenvalues to compute ("SA" for smallest algebraic, "LA" for largest algebraic) |
create_new_projectCreate a new project based on a given structure.| Parameter | Type | Description |
|---|---|---|
| structure_type * | string | bulk (bulk crystal structure) or supercell (a thin film or supercell structure) |
| structure_uri * | string | the uri of the structure with the format 'structure://{structure_id} |
create_quantum_systemCreate a new quantum system for analysis.| Parameter | Type | Description |
|---|---|---|
| description | string | Optional description of the system to create |
create_structure_from_cifCreate a new structure from a cif string| Parameter | Type | Description |
|---|---|---|
| cif_str * | string | the cif string of the structure |
create_structure_from_poscarCreate a new structure from a poscar string| Parameter | Type | Description |
|---|---|---|
| poscar_str * | string | the poscar string of the structure |
create_tableCreates a new table in the database.| Parameter | Type | Description |
|---|---|---|
| table_name * | string | The name of the table to create. |
delete_documentsDeletes documents from the specified table.| Parameter | Type | Description |
|---|---|---|
| query_params * | object | A dictionary of field-value pairs to identify documents to delete. |
| table_name * | string | The name of the table. |
delete_quantum_systemDelete a quantum system and its associated data.| Parameter | Type | Description |
|---|---|---|
| system_id * | string | The ID of the quantum system to delete |
display_numerical_resultDisplays a saved plot for a given quantum system analysis.| Parameter | Type | Description |
|---|---|---|
| file_name * | string | The name of the plot file, e.g., 'ssh_full_spectrum.png'. |
| system_id * | string | The ID of the system for which to display the plot. |
drop_tableDrops the specified table from the database.| Parameter | Type | Description |
|---|---|---|
| table_name * | string | The name of the table to drop. |
execute_codeExecute code in a notebook with specific notebook path| Parameter | Type | Description |
|---|---|---|
| code * | string | Code to execute |
| notebook_path * | string | A relative path to the notebook file |
execute_mathematicaExecute Mathematica code and return the result.| Parameter | Type | Description |
|---|---|---|
| code * | string | Mathematica code to execute. Should be a complete, self-contained code block. |
| format | string | Output format (text, latex, or mathematica). Defaults to text. |
fetch-webFetch a URL and return the content. Images will be returned in ![]() format. DO NOT FETCH image_urls, for images use read-image-url instead.| Parameter | Type | Description |
|---|---|---|
| url * | string | URL to fetch |
generate_plotGenerate plots for quantum system analysis.| Parameter | Type | Description |
|---|---|---|
| file_path | string | Optional path to save the plot image file (e.g., "ssh_transition.png") |
| plot_type * | string | Type of plot ("spectrum", "ground_state", "parameter_sweep") |
| system_id * | string | The ID of the quantum system |
get_image_of_flowerGet an image of flowerget_structure_dataObtain the structure data (coordinates of atoms and other properties of the bulk or supercell crystal structure)| Parameter | Type | Description |
|---|---|---|
| format | string | the format of the structure file, could be poscar or cif. |
| structure_uri * | string | the uri of the structure |
get_system_detailsGet detailed information about a specific quantum system.| Parameter | Type | Description |
|---|---|---|
| system_id * | string | The ID of the quantum system |
insert_documentInserts a document into the specified table.| Parameter | Type | Description |
|---|---|---|
| document * | object | The document to insert. |
| table_name * | string | The name of the table. |
list_jupyter_filesList files in the Jupyter workspace. To list files in the root directory, provide an empty string as file_path. To explore subdirectories, provide a relative path (e.g., 'subfolder/'). This tool helps you navigate and explore the workspace structure. Start with an empty path to discover the root directory contents first, then use specific paths to browse subdirectories.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Relative path to list files from. Use empty string for root directory, or a path like 'subfolder/' for subdirectories |
list_quantum_systemsList all available quantum systems.moire_homobilayerGenerate a moire superstructure of a 2D homobilayer and save it to folder, retrievable by a structure_uri| Parameter | Type | Description |
|---|---|---|
| bulk_structure_uri * | string | the uri of the bulk structure used to build the moire bilayer |
| interlayer_spacing * | number | The interlayer spacing between the two layers, in angstrom. |
| max_num_atoms | integer | The maximum number of atoms in the moire superstructure. |
| twist_angle | number | The twist angle of the moire superstructure, in degrees. |
| vacuum_thickness | number | The vacuum thickness in the z direction, in angstrom. |
nemad_formula_searchSearch for materials by exact chemical formula in NEMAD database.| Parameter | Type | Description |
|---|---|---|
| database_type * | string | Type of database (magnetic, thermoelectric, or superconductor) |
| formula * | string | Exact chemical formula to search for (e.g., "Fe2O3") |
| limit | integer | Number of results to return (-1 for all results) |
nemad_list_cacheList all available cached search results.nemad_read_resultsRead specific range of cached search results.| Parameter | Type | Description |
|---|---|---|
| cache_key * | string | The cache key from previous search results |
| end_index | integer | Ending index (0-based, exclusive). If None, read to end. |
| start_index | integer | Starting index (0-based, inclusive) |
nemad_searchSearch for materials by elements in NEMAD database.| Parameter | Type | Description |
|---|---|---|
| database_type * | string | Type of database (magnetic, thermoelectric, or superconductor) |
| elements * | string | Comma-separated list of elements (e.g., "Fe,Co,Ni") |
| exact_match | boolean | If true, return materials with exactly these elements only |
| limit | integer | Number of results to return (-1 for all results) |
parameter_sweepPerform a parameter sweep for a quantum model.| Parameter | Type | Description |
|---|---|---|
| parameter_name * | string | Name of parameter to sweep (e.g., "t2", "U", "J") |
| parameter_range | array | List of parameter values to try (optional, uses Hamiltonian specification if not provided) |
| system_id * | string | The ID of the quantum system |
plot_structurePlot the structure of a material| Parameter | Type | Description |
|---|---|---|
| duplication | array | the duplication of the structure in the plot, specified by a list of three integers along a,b,c axis. |
| structure_uri * | string | the uri of the structure |
plot_xyGenerate a generic 2D plot and save it to a file.| Parameter | Type | Description |
|---|---|---|
| file_name * | string | Name of the file to save the plot (e.g., 'custom_plot.png'). |
| system_id * | string | The ID of the quantum system to associate the plot with. |
| title * | string | Title of the plot. |
| x_data * | array | Data for the x-axis. |
| x_label * | string | Label for the x-axis. |
| y_data * | array | Data for the y-axis. |
| y_label * | string | Label for the y-axis. |
purge_tableRemoves all documents from the specified table.| Parameter | Type | Description |
|---|---|---|
| table_name * | string | The name of the table to purge. |
python_code_executionquery_documentsQueries documents from the specified table.| Parameter | Type | Description |
|---|---|---|
| query_params | object | Optional. A dictionary of field-value pairs for exact matches. Example: {"name": "John", "age": 30} |
| table_name * | string | The name of the table. |
read-image-urlRead images from URLs, convert to LLM readable format.| Parameter | Type | Description |
|---|---|---|
| image_urls * | array | List of URLs of the images to read |
read_jupyter_fileRead file content. For regular files, returns the entire content; for .ipynb files, returns notebook cells in pages. Each read returns metadata containing cursor, has_more, and reverse values for subsequent reads. For example, if returned metadata is {"cursor": 10, "has_more": true}, the next read should use {"cursor": 10} as parameter.| Parameter | Type | Description |
|---|---|---|
| cell_count * | integer | Number of cells to read, only applies to .ipynb files |
| cursor * | integer | Starting position for reading, only applies to .ipynb files. Use 0 for first read, then use the cursor value from previous read's metadata |
| file_path * | string | File path, supports both regular files and .ipynb files, this path should be the relative path to the working directory |
| reverse * | boolean | Reading direction, only applies to .ipynb files. True means read from end to beginning, False means read from beginning to end. Should match the reverse value from previous read's metadata |
replace_cellReplace the given cell in the notebook. WARNING: This is a high-risk operation that will modify the notebook content without user confirmation. Use with extreme caution and only when absolutely necessary. Ensure you have verified the cell ID and content before proceeding, as this action cannot be undone and may result in data loss if used incorrectly.| Parameter | Type | Description |
|---|---|---|
| cell_content * | string | The Cell Content to replace |
| cell_id_to_replace * | string | The id of the cell to replace |
| notebook_path * | string | A relative path to the notebook file |
search_materials_by_formulaSearch for materials in the MPRester database by chemical formula| Parameter | Type | Description |
|---|---|---|
| chemical_formula * | string | the chemical formula of the material |
select_material_by_idSelect a material from a list of structure_info objects by material_id| Parameter | Type | Description |
|---|---|---|
| material_id * | string | the id of the material |
set_hamiltonianSet the Hamiltonian for a quantum system with optional parameter ranges for sweeps.| Parameter | Type | Description |
|---|---|---|
| hamiltonian_spec * | string | Text description of the Hamiltonian (e.g., "SSH model with t1=1, t2=0.2") |
| parameter_ranges | object | Optional parameter ranges for sweeps (e.g., {"t2": [0.1, 0.5, 1.0, 1.5, 2.0]}) |
| system_id * | string | The ID of the quantum system |
set_hilbert_spaceSet the Hilbert space for a quantum system.| Parameter | Type | Description |
|---|---|---|
| hilbert_spec * | string | Text description of the Hilbert space (e.g., "1 fermion", "spin-1/2 on each site") |
| system_id * | string | The ID of the quantum system |
set_latticeSet the lattice geometry for a quantum system.| Parameter | Type | Description |
|---|---|---|
| lattice_spec * | string | Text description of the lattice (e.g., "chain of 24 sites", "4x4 square lattice") |
| system_id * | string | The ID of the quantum system |
ssh_execExecute a command on the remote system| Parameter | Type | Description |
|---|---|---|
| arguments | string | Arguments to pass to the command |
| command * | string | Command for SSH server to execute |
| timeout | integer | Timeout in seconds for command execution |
start_calculationStart a DFT calculation.| Parameter | Type | Description |
|---|---|---|
| params * | any | Parameters for the computation. Note that different types of computation requires different parameter fields. |
| project_uri * | string | The uri of the project. A project is defined by a structure. When the structure being studied is changed, one needs to start a new project |
txyz_search_scholarFocused, specialized search for academic and scholarly materials, the results (`ScholarResponse`) are could be papers, articles etc.| Parameter | Type | Description |
|---|---|---|
| as_yhi | integer | |
| as_ylo | integer | |
| max_results * | integer | |
| query * | string |
txyz_search_smartAI-powered Smart Search handles all the necessary work to deliver the best results. The results may include either scholarly materials or web pages.| Parameter | Type | Description |
|---|---|---|
| as_yhi | integer | |
| as_ylo | integer | |
| max_results * | integer | |
| query * | string |
txyz_search_webPerform a web search for general purpose information, the results would be resources from web pages.| Parameter | Type | Description |
|---|---|---|
| as_yhi | integer | |
| as_ylo | integer | |
| max_results * | integer | |
| query * | string |
update_documentsUpdates documents in the specified table.| Parameter | Type | Description |
|---|---|---|
| query_params * | object | A dictionary of field-value pairs to identify documents to update. |
| table_name * | string | The name of the table. |
| update_data * | object | A dictionary of field-value pairs to update. |
verify_derivationVerify a mathematical derivation step by step using Mathematica's Simplify.| Parameter | Type | Description |
|---|---|---|
| format | string | Output format for the verification report (text, latex, or mathematica). Defaults to text. |
| steps * | array | Array of mathematical expressions (as strings) representing steps in a derivation. Requires at least two steps. |
waitA timer tool that waits for a specified duration while providing progress updates. Useful for simulating delays, testing async operations, or demonstrating progress reporting. The tool will block for the specified time and send periodic progress notifications to track completion status. Returns 'Done' when the wait period is complete.| Parameter | Type | Description |
|---|---|---|
| notif_interval | any | Optional interval in milliseconds between progress notifications. Defaults to 10000 (10 seconds) if not specified. Use smaller values for more frequent updates. |
| time_to_wait * | any | Total duration to wait in milliseconds (e.g., 5000 for 5 seconds) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and 5 more.
- ✓No dynamic code executionScanned 61 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEservers/gpaw-computation/src/gpaw_computation/__init__.py:7, servers/web-fetch/src/web_fetch/__init__.py:10, servers/nemad/src/nemad/__init__.py:12
- Starts other programs
- 4 callsservers/mathematica-check/src/mathematica_check/server.py:43, servers/mathematica-check/src/mathematica_check/server.py:77, servers/python-code-execution/src/python_code_execution/server.py:38
- Outbound network calls
- 10 callsservers/jupyter-act/src/jupyter_act/utils.py:453, servers/jupyter-act/src/jupyter_act/utils.py:476, servers/jupyter-act/src/jupyter_act/utils.py:485
- Writes or deletes files
- 16 callsservers/gpaw-computation/server_package/gpaw_computation_server/gpaw_utils/data_class.py:203, servers/gpaw-computation/server_package/gpaw_computation_server/gpaw_utils/data_class.py:242, servers/gpaw-computation/server_package/gpaw_computation_server/gpaw_utils/data_class.py:248
- Lockfile
- uv.lock and 5 more
Pattern matches on the source text of 61 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README