This MCP server executes SPARQL queries against various biological/biomedical RDF databases provided at the RDF Portal.
Additional functionalities are also provided that interact with a few REST APIs at various sites.
You can use the remote TogoMCP server (no need for local installation). See https://togomcp.rdfportal.org/ for instructions.
- Python (>= 3.11)
- uv package manager
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"# Clone the repository
git clone https://github.com/dbcls/togo-mcp.git
cd togo-mcp
# Install dependencies
uv sync
Part of TogoMCP tools require NCBI API keys.
Obtain your NCBI API KEY and set it as the NCBI_API_KEY environment variable.
export NCBI_API_KEY="your-key-here"Change the file paths as appropriate.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: ~\AppData\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"togomcp": {
"command": "{path to uv}/uv",
"args":[
"--directory",
"{path to togo-mcp}/togo-mcp",
"run",
"togo-mcp-server"
]
}
}
}In the above setting, you can also use togo-mcp-admin instead of togo-mcp-server, which includes additional MCP tools for generating new MIE files.