What happens when results exceed the memory limit?
A subset of results is returned in the `items` field, `is_complete` is set to `false`, and the complete dataset is automatically saved to a file specified in the `output_file` field.
@koido
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gwas-catalog-mcp": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This MCP server provides a programmatic interface to the GWAS Catalog REST API, enabling access to GWAS study, variant, trait, and association data. It automatically handles large result sets by offering both in-memory results and file-based storage options.
Install dependencies with uv sync, activate the virtual environment (. .venv/bin/activate), then run the server with uv run server.py. The server exposes a single tool, GWAS_catalog, with multiple endpoints for querying different data types. All endpoints accept common parameters like max_items_in_memory, output_dir, and force_to_file.
_links fields from API responses by defaultA subset of results is returned in the `items` field, `is_complete` is set to `false`, and the complete dataset is automatically saved to a file specified in the `output_file` field.
The server requires `uv`, `mcp[cli]`, `fastmcp`, and `requests`. Install them with `uv sync`.
Yes. Set the `force_to_file` parameter to `true` to always save results to a file regardless of size. Alternatively, use `force_no_file` to never write to file.
The `get_region-trait-associations` endpoint and other endpoints marked as "uses GWAS Summary Statistics API" access `https://www.ebi.ac.uk/gwas/summary-statistics/api`.
For endpoints that process p-values (e.g., `get_associations_from_variant`), only results with `is_gwas_significant: true` (p ≤ 5e-8) are returned. The metadata includes `significant_items` count.
不止于 CSS
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Toolbox for Databases is an open source MCP server for databases.
评论