BioMCP Protein Analysis
STDIOMCP server designed to enhance language models with protein structure analysis capabilities.
MCP server designed to enhance language models with protein structure analysis capabilities.
BioMCP is a Model Context Protocol (MCP) server designed to enhance large language models with protein structure analysis capabilities. It provides tools for analyzing protein active sites and searching for disease-related proteins by interfacing with established protein databases.
Future work will be centered around enabling agents to utilize the BioMCP.
BioMCP implements the Model Context Protocol, allowing language models to access specialized protein structure knowledge without requiring this information to be part of their training data. The server handles API connections, data formatting, and error handling to provide reliable protein structure insights.
BioMCP exposes two primary tools:
analyze-active-site
: Provides detailed information about protein binding sites using a PDB IDsearch-disease-proteins
: Returns proteins related to specified diseases or medical conditionsTo install BioMCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @acashmoney/bio-mcp --client claude
# Clone the repository git clone https://github.com/acashmoney/bio-mcp.git # Install dependencies npm install # Start the server npm start
Start the BioMCP server:
npm start
In a separate terminal, install the MCP Inspector globally (if not already installed):
npm install -g @anthropic-ai/mcp-inspector
Launch the MCP Inspector and connect to your local BioMCP server:
npx @modelcontextprotocol/inspector node build/index.js
Use the inspector interface to test tools and view responses.
Build the BioMCP server:
npm run build
Configure Claude Desktop to launch the MCP server:
a. Locate your Claude Desktop config.json file (typically in your user directory)
b. Edit the config.json to include the BioMCP server build path. Example configuration:
{ "globalShortcut": "", "mcpServers": { "bio-mcp": { "command": "node", "args": [ "/path/to/your/build/index.js" ] } } }
c. Replace /path/to/your/build
with your actual path to the project directory.
Restart Claude Desktop for the changes to take effect.
You can now ask Claude questions that utilize the BioMCP tools:
When integrated with a compatible language model, Bio-MCP enables queries like:
BioMCP includes a comprehensive testing suite with unit, integration, and end-to-end tests.
Run all tests:
npm test
Run specific test suites:
# Unit tests only npm run test:unit # Integration tests only (API interactions) npm run test:integration # End-to-end tests only npm run test:e2e
Check code quality:
npm run lint
Fix linting issues automatically:
npm run lint:fix