Skip to main content
Glama

ITIS MCP Server

by knustx

ITIS MCP Server

A Model Context Protocol (MCP) server for interacting with the ITIS (Integrated Taxonomic Information System) database via their SOLR API.

Overview

This MCP server provides access to the ITIS database, which contains taxonomic information for hundreds of thousands of species. It uses the ITIS SOLR API to perform searches and retrieve taxonomic data.

Features

  • Search by Scientific Name: Find organisms by their scientific names
  • Search by TSN: Look up organisms by their Taxonomic Serial Number
  • Search by Kingdom: Find organisms within specific kingdoms
  • Search by Taxonomic Rank: Search for organisms of specific ranks
  • Autocomplete Search: Get suggestions for partial scientific names
  • Hierarchical Data: Retrieve complete taxonomic hierarchies
  • General SOLR Search: Perform flexible searches with custom SOLR queries
  • Statistics: Get database statistics

Installation

  1. Clone or download this repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

As an MCP Server

The server communicates via stdin/stdout and can be used with MCP-compatible clients.

To run the server:

npm start

For development:

npm run dev

MCP Client Configuration

After building the project, add this configuration to your MCP client:

Claude Desktop (claude_desktop_config.json):

{ "mcpServers": { "itis": { "command": "npx", "args": ["-y", "path/to/itis-mcp"] } } }

Cursor/Other MCP Clients:

{ "command": "npx", "args": ["-y", "path/to/itis-mcp"] }

Available Tools

1. search_itis

General SOLR search with flexible parameters.

Parameters:

  • query (string): SOLR query string (e.g., "nameWInd*", "kingdom")
  • start (number): Starting index for pagination
  • rows (number): Number of results to return
  • sort (string): Sort order
  • fields (array): Specific fields to return
  • filters (object): Additional filters
2. search_by_scientific_name

Search for organisms by scientific name.

Parameters:

  • name (string, required): Scientific name to search for
  • rows (number): Number of results to return
  • start (number): Starting index for pagination
3. search_by_tsn

Search by Taxonomic Serial Number.

Parameters:

  • tsn (string, required): TSN to search for
4. search_by_kingdom

Search within a specific kingdom.

Parameters:

  • kingdom (string, required): Kingdom name (e.g., "Animalia", "Plantae")
  • rows (number): Number of results to return
  • start (number): Starting index for pagination
5. search_by_rank

Search by taxonomic rank.

Parameters:

  • rank (string, required): Taxonomic rank (e.g., "Species", "Genus", "Family")
  • rows (number): Number of results to return
  • start (number): Starting index for pagination
6. get_hierarchy

Get taxonomic hierarchy for a TSN.

Parameters:

  • tsn (string, required): TSN to get hierarchy for

Autocomplete search for partial names.

Parameters:

  • partialName (string, required): Partial scientific name
  • rows (number): Number of results to return
8. get_statistics

Get database statistics.

Parameters: None

Example Queries

Here are some example queries you can use:

Search for Humans

{ "tool": "search_by_scientific_name", "arguments": { "name": "Homo sapiens" } }

Search for Plants

{ "tool": "search_by_kingdom", "arguments": { "kingdom": "Plantae", "rows": 5 } }

Autocomplete for Oak Trees

{ "tool": "autocomplete_search", "arguments": { "partialName": "Quercus" } }

Custom SOLR Query

{ "tool": "search_itis", "arguments": { "query": "nameWInd:*tiger* AND kingdom:Animalia", "rows": 10, "sort": "nameWInd asc" } }

ITIS Database Fields

The ITIS database contains many fields. Here are the most commonly used ones:

  • tsn: Taxonomic Serial Number (unique identifier)
  • nameWInd: Scientific name with indicators
  • kingdom: Kingdom name
  • phylum: Phylum name
  • class: Class name
  • order: Order name
  • family: Family name
  • genus: Genus name
  • species: Species name
  • author: Author citation
  • rank: Taxonomic rank
  • usage: Usage status (valid, invalid, etc.)
  • credibilityRating: Data quality rating
  • phyloSort: Phylogenetic sort order

SOLR Query Examples

The ITIS SOLR API supports various query types:

  • Exact match: nameWInd:"Homo sapiens"
  • Wildcard: nameWInd:Homo*
  • Range: tsn:[1 TO 1000]
  • Boolean: kingdom:Animalia AND rank:Species
  • Phrase: nameWInd:"oak tree"

Configuration

The server uses the official ITIS SOLR endpoint: https://services.itis.gov/

No API key is required as the ITIS database is publicly accessible.

Error Handling

The server includes comprehensive error handling:

  • Network errors are caught and reported
  • Invalid queries return helpful error messages
  • Malformed responses are handled gracefully

Contributing

Feel free to submit issues and enhancement requests!

License

MIT License

References

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides access to the Integrated Taxonomic Information System (ITIS) database via a Model Context Protocol server, enabling taxonomic searches by scientific name, TSN, kingdom, and rank, with features like autocomplete and hierarchical data retrieval.

  1. Overview
    1. Features
      1. Installation
        1. Usage
          1. As an MCP Server
          2. MCP Client Configuration
          3. Available Tools
        2. Example Queries
          1. Search for Humans
          2. Search for Plants
          3. Autocomplete for Oak Trees
          4. Custom SOLR Query
        3. ITIS Database Fields
          1. SOLR Query Examples
            1. Configuration
              1. Error Handling
                1. Contributing
                  1. License
                    1. References

                      Related MCP Servers

                      • -
                        security
                        A
                        license
                        -
                        quality
                        A Model Context Protocol server that enables conversational searching of NIH-funded research projects and publications through the NIH RePORTER database.
                        Last updated -
                        Python
                        MIT License
                        • Linux
                        • Apple
                      • -
                        security
                        F
                        license
                        -
                        quality
                        A Model Context Protocol server that enables AI assistants to securely interact with Apache IoTDB databases through a controlled interface for listing tables, reading data, and executing SQL queries.
                        Last updated -
                        Python
                        • Apple
                      • A
                        security
                        F
                        license
                        A
                        quality
                        A Model Context Protocol server that allows executing SELECT queries on TiDB databases, with optional support for INSERT, UPDATE, and DELETE operations when explicitly enabled.
                        Last updated -
                        1
                        16
                        JavaScript
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A server that enables vector and keyword search capabilities in Typesense databases through the Model Context Protocol, providing tools for collection management, document operations, and search functionality.
                        Last updated -
                        14
                        2
                        Python
                        MIT License
                        • Apple

                      View all related MCP servers

                      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/knustx/itis-mcp-server'

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