- Home
- MCP servers
- GTEx
GTEx
- typescript
1
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"augmented-nature-gtex-mcp-server": {
"command": "node",
"args": [
"/path/to/gtex-server/build/index.js"
]
}
}
}You can access GTEx Portal data through a complete MCP server that exposes 25 specialized tools across expression, association, and reference datasets. This server lets you query gene expression, eQTL/sQTL analyses, tissue metadata, and more, enabling AI assistants to perform comprehensive genomics research with GTEx data.
How to use
You interact with the GTEx MCP server via a client that speaks the MCP protocol. Use it to perform common genomics analyses such as retrieving gene expression across tissues, finding tissue-specific genes, exploring eQTL results, and looking up gene or variant information. You can run analyses individually or chain multiple tools to build complex workflows. When you issue a request, you specify the tool name and the required parameters (for example a gene identifier and tissue of interest). The server returns structured results that you can feed into downstream analyses, visualizations, or reports. You can also perform coordinate conversions between genome builds and fetch dataset-level metadata to understand what data is available and how it was collected.
How to install
Prerequisites: you need Node.js installed on your machine. You also need a compatible MCP client to talk to the server using MCP protocol messages.
Step 1: Install dependencies for the GTEx MCP server.
# Navigate to the server directory
cd gtex-server
# Install dependencies
npm install
Configuration and running
Step 2: Build the server before running in development or production mode.
npm run build
Step 3: Start the server for development or testing.
npm run dev
To inspect MCP interactions during development, you can also start the inspector tool if you are troubleshooting or validating tool registrations.
## Example configuration for local MCP client
If you are configuring a local MCP client (such as Claude Desktop) to connect to this server, provide the following stdio configuration to launch the server from your client.
{ "mcpServers": { "gtex-server": { "command": "node", "args": ["/path/to/gtex-server/build/index.js"] } } }
## Available tools
### get\_gene\_expression
Retrieve gene expression data across tissues for specified genes, enabling tissue-wide expression profiling.
### get\_median\_gene\_expression
Return median expression levels for a gene across all tissues to summarize typical expression.
### get\_top\_expressed\_genes
Identify the top expressed genes within selected tissues to highlight tissue-dominant transcripts.
### get\_tissue\_specific\_genes
Find genes with tissue-specific expression patterns across the GTEx tissues.
### get\_clustered\_expression
Provide clustered gene expression data suitable for visualization and heatmaps.
### calculate\_expression\_correlation
Compute Pearson correlation of gene expression across tissues to assess co-expression.
### get\_differential\_expression
Fetch differential expression results between tissue groups to compare conditions.
### get\_eqtl\_genes
List genes with eQTL associations within specified genomic regions.
### get\_single\_tissue\_eqtls
Obtain single-tissue eQTL results for target genes.
### calculate\_dynamic\_eqtl
Analyze how eQTL effects change across different tissues.
### get\_multi\_tissue\_eqtls
Retrieve meta-analysis eQTL results across multiple tissues.
### get\_sqtl\_results
Fetch splicing QTL (sQTL) results for genes to study splicing regulation.
### analyze\_ld\_structure
Assess linkage disequilibrium structure around given variants.
### search\_genes
Search for genes by symbol, name, or description to locate targets quickly.
### get\_gene\_info
Get detailed information about a specific gene, including aliases and annotations.
### get\_variants
Retrieve genetic variants within specified genomic regions.
### get\_tissue\_info
Fetch metadata about GTEx tissues and sample counts.
### get\_sample\_info
Access GTEx sample metadata and demographics for analysis context.
### get\_subject\_phenotypes
Obtain subject phenotype data and demographics for population-level insights.
### validate\_gene\_id
Validate and normalize gene identifiers to ensure accurate queries.
### validate\_variant\_id
Validate variant identifiers and genomic coordinates for queries.
### get\_dataset\_info
Retrieve information about available GTEx datasets and versions.
### search\_transcripts
Search for transcripts and isoforms for a given gene.
### get\_gene\_ontology
Fetch Gene Ontology annotations for a gene to support functional analysis.
### convert\_coordinates
Convert genomic coordinates between hg19 and hg38 builds.