Skip to main content

Model Context Protocol server for interacting with the PLSDB (Plasmid Database) API

Project description

PLSDB MCP Server

Model Context Protocol server for interacting with the PLSDB (Plasmid Database) API. This server provides tools to search, filter, and retrieve plasmid data from PLSDB.

Installation

From PyPI (Recommended)

pip install plsdb-mcp

From Source

git clone <repository-url>
cd PLSDBmcp
pip install -e .

Usage

Command Line

After installation, you can run the MCP server using:

plsdb-mcp

MCP Configuration

Add this to your MCP configuration file:

{
  "mcpServers": {
    "plsdb": {
      "command": "plsdb-mcp",
      "args": []
    }
  }
}

Available Tools

The PLSDB MCP server provides the following tools:

Plasmid Information

  • get_plasmid_summary: Get plasmid summary information for a given NUCCORE_ACC

FASTA Downloads

  • start_fasta_download: Start preparing FASTA download for multiple plasmid accessions
  • get_fasta_download: Get results from FASTA download job

Sequence Search

  • start_sequence_search: Start sequence search in PLSDB using various search methods
  • get_sequence_search_results: Get results from sequence search job

Filtering

  • filter_plasmids_by_nuccore: Filter PLSDB plasmids based on nuccore attributes
  • filter_plasmids_by_biosample: Filter PLSDB plasmids based on biosample attributes
  • filter_plasmids_by_taxonomy: Filter PLSDB plasmids based on taxonomy attributes

API Endpoints

The server connects to the PLSDB API at: https://ccb-microbe.cs.uni-saarland.de/plsdb2025/api

Requirements

  • Python 3.8 or higher
  • mcp >= 1.0.0
  • aiohttp >= 3.8.0

Development

Setup Development Environment

git clone <repository-url>
cd PLSDBmcp
pip install -e ".[dev]"

Running Tests

python -m pytest

Building Package

python -m build

Claude integration

inlcude following in your Claude app:

{
  "mcpServers": {
    "plsdb": {
      "command": "plsdb-mcp",
      "env": {}
    }
  }
}

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

Support

For issues and questions, please open an issue on the GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plsdb_mcp-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plsdb_mcp-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file plsdb_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: plsdb_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for plsdb_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2671f2b3a40acc972b18e0e38807b76fdbb794b2de0378f1c8f4fe1fc229511d
MD5 b904134a686df0c43ab0ae49210c6283
BLAKE2b-256 868dbca970b8ecae780ebd7dc134c707f39e9b4a8edcab9148ea3a1c7b25223d

See more details on using hashes here.

File details

Details for the file plsdb_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: plsdb_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for plsdb_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afd640ac1be5e88e917bb06d8e4be823d6a02629d9dbbbe3cb38cb6b894d32d6
MD5 3860f6626f7d42c0ed9cbed9fbf831ac
BLAKE2b-256 928dfa8be66be98d374b90df4e3d0565ef381723fb52899074acbf0989eb6734

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page