Skip to main content
Glama
hlydecker

UCSC Genome Browser MCP Server

by hlydecker

list_hub_genomes

Retrieve available genomes from a specified UCSC Genome Browser track or assembly hub URL to identify compatible genomic datasets for analysis.

Instructions

List all genomes available in a specified track or assembly hub.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hub_urlYesURL of the track hub or assembly hub

Implementation Reference

  • Handler implementation for the 'list_hub_genomes' tool. It extracts the hub_url from arguments, builds the API URL for '/list/hubGenomes', and makes the request.
    elif name == "list_hub_genomes":
        params = {"hubUrl": arguments["hub_url"]}
        url = build_api_url("/list/hubGenomes", params)
        result = await make_api_request(url)
  • Registration of the 'list_hub_genomes' tool in the list_tools() function, including name, description, and input schema.
    Tool(
        name="list_hub_genomes",
        description="List all genomes available in a specified track or assembly hub.",
        inputSchema={
            "type": "object",
            "properties": {
                "hub_url": {
                    "type": "string",
                    "description": "URL of the track hub or assembly hub"
                }
            },
            "required": ["hub_url"]
        }
    ),
  • Input schema definition for the 'list_hub_genomes' tool.
    inputSchema={
        "type": "object",
        "properties": {
            "hub_url": {
                "type": "string",
                "description": "URL of the track hub or assembly hub"
            }
        },
        "required": ["hub_url"]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlydecker/ucsc-genome-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server