Skip to main content
Glama
GeneOntology MCP Server

GeneOntology MCP Server

Logo

Unofficial Gene Ontology MCP Server

A comprehensive Model Context Protocol server for accessing Gene Ontology (GO) data, enabling AI systems to perform ontology-based analysis, gene annotation research, and functional enrichment studies.

Features

  • Term Search & Lookup: Search GO terms by keyword, name, or definition

  • Ontology Navigation: Explore hierarchical relationships between terms

  • Gene Annotations: Access GO annotations for genes and proteins

  • Validation: Validate GO identifiers and check term existence

  • Statistics: Get comprehensive ontology statistics and metadata

Related MCP server: OWL-MCP

Installation

npm install
npm run build

Usage

As an MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "go-server": {
      "command": "node",
      "args": ["/path/to/go-server/build/index.js"]
    }
  }
}

Available Tools

search_go_terms

Search across Gene Ontology terms by keyword, name, or definition.

{
  "query": "apoptosis",
  "ontology": "biological_process",
  "size": 10
}

get_go_term

Get detailed information for a specific GO term.

{
  "id": "GO:0006915"
}

validate_go_id

Validate GO identifier format and check if term exists.

{
  "id": "GO:0008150"
}

get_ontology_stats

Get statistics about GO ontologies (term counts, recent updates).

{
  "ontology": "all"
}

Resource Templates

  • go://term/{id} - Complete GO term information

  • go://annotations/{gene} - Gene annotations

  • go://search/{query} - Search results

  • go://hierarchy/{id} - Term hierarchy relationships

Examples

# Using the search_go_terms tool
{
  "query": "apoptosis",
  "ontology": "biological_process",
  "size": 5,
  "include_obsolete": false
}

Get detailed information about a GO term

# Using the get_go_term tool
{
  "id": "GO:0006915"
}

Validate a GO identifier

# Using the validate_go_id tool
{
  "id": "GO:0008150"
}

Data Sources

This server integrates with:

Error Handling

The server includes comprehensive error handling for:

  • Invalid GO identifiers

  • Missing terms

  • API timeouts

  • Network errors

  • Malformed requests

Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Add tests if applicable

  5. Submit a pull request

Citation

If you use this project in your research or publications, please cite it as follows:

author = {Moudather Chelbi},
title = {GeneOntology MCP Server},
year = {2025},
howpublished = {https://github.com/Augmented-Nature/GeneOntology-MCP-Server},
note = {Accessed: 2025-06-29}

Available Tools

4 tools
get_go_termC

Get detailed information for a specific GO term

Inputs: id (required).

get_ontology_statsC

Get statistics about GO ontologies (term counts, recent updates)

Inputs: ontology.

search_go_termsC

Search across Gene Ontology terms by keyword, name, or definition

Inputs: query (required), ontology, size, exact, +1 more.

validate_go_idB

Validate GO identifier format and check if term exists

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: get_go_term retrieves specific term details, get_ontology_stats provides statistical summaries, search_go_terms enables keyword-based discovery, and validate_go_id handles identifier validation. The descriptions clearly differentiate between retrieving, searching, validating, and statistical analysis functions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case formatting: get_go_term, get_ontology_stats, search_go_terms, validate_go_id. The naming convention is perfectly uniform throughout the set, making the tools predictable and easy to understand.

    Tool Count4/5

    Four tools is reasonable for a GeneOntology server, covering core operations like retrieval, search, validation, and statistics. While slightly minimal, each tool serves a distinct purpose and the count aligns well with the domain's typical query patterns. A few additional tools for relationships or annotations could enhance completeness but aren't essential.

    Completeness3/5

    The tools cover basic query operations well but have notable gaps for a GeneOntology domain. Missing are tools for term relationships (e.g., get_parents, get_children), annotations (e.g., get_annotations_for_term), or ontology traversal. While agents can work with the provided tools, they cannot perform common GO analysis tasks like exploring term hierarchies or retrieving associated genes.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server providing LLMs with access to the Ensembl genomics database, enabling AI assistants to query gene information, sequences, variants, and other genomic data across multiple species.
      10
      8
      JavaScript
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that provides tools for interacting with the STRING database to analyze protein-protein interaction networks and functional enrichment. It enables users to map protein identifiers, retrieve interaction data, and generate biological network visualizations through natural language interfaces.
      11
      4
      BSD 3-Clause