genome-mcp: Instructions file for Claude Code

CLAUDE.md

genome-mcp CLAUDE.md is an instructions file for Claude Code from gqy20/genome-mcp. It costs 2,957 tokens per session, scanned A, original, MIT.

Project instructions for Genome MCP, a server that lets coding agents query gene information, compare related genes across species, and study evolution using public biology databases. MCP is a standard way for tools and agents to exchange information.

In plain words
What is it for?
Use them when developing, testing, formatting, linting, or maintaining Genome MCP and its gene-analysis functions.
Why use it?
They explain how to set up the project, run its checks, and work with its scientific data features without relying on invented data.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; built for continue.dev.

This is gqy20/genome-mcp's own configuration. It tells Claude Code how to work on genome-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything genome-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gqy20/genome-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gqy20/genome-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/gqy20/genome-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for genome-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gqy20/genome-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/gqy20/genome-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gqy20/genome-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/gqy20/genome-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for genome-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gqy20/genome-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/gqy20/genome-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,957 This file is loaded in full into every session.
When invoked 2,957 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02957 $0.02957
Opus 5 $0.01478 $0.01478
Sonnet 5 $0.00591 $0.00591
Haiku 4.5 $0.00296 $0.00296

Measured 9d ago against content hash aea9add8b3d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

genome-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 270 lines

How it starts

The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

🧬 项目概述

Genome MCP v0.2.5 是一个智能基因组数据服务器,通过MCP协议提供高质量的基因信息查询、同源基因分析和进化研究功能。该项目采用模块化架构,完全基于权威数据库,无模拟数据,科学严谨可靠。

🎯 核心功能

  • 🧬 基因信息查询: 基于NCBI Gene数据库的准确基因信息
  • 🔄 同源基因分析: 基于Ensembl API的跨物种同源基因查询(253+ TP53同源基因)
  • 🧬 进化分析: 系统发育关系构建和保守性分析
  • 🔍 语义搜索: 理解查询意图的智能搜索功能
  • 📊 批量处理: 优化的并发查询,支持大规模数据分析
  • 🔬 科学可靠: 基于权威数据库,完全无模拟数据

🚀 现代化开发工作流(基于uv工具链)

🌟 环境设置和安装

# 🚀 推荐:使用uv进行完整环境管理
uv sync --dev                # 一键创建虚拟环境并安装所有依赖

# ✅ 完成!环境已准备就绪
# uv会自动管理虚拟环境,无需手动激活

# 🔧 传统方式(兼容性,不推荐)
make install                 # 需要手动管理虚拟环境

🔧 代码质量(uv优先)

# 🎯 现代化uv工作流(推荐)
uv run ruff format .         # 智能代码格式化
uv run ruff check .          # 快速代码质量检查
uv run ruff check --fix .    # 自动修复可修复的问题

# 📊 完整质量检查流程
uv run ruff format . && uv run ruff check . && uv run pytest

# 🔧 Makefile方式(兼容性)
make format                  # 传统格式化
make lint                    # 传统代码检查
make check                   # 完整检查
make ci                      # CI流程

🧪 测试(uv方式)

# 🚀 使用uv运行测试(推荐)
uv run pytest                # 运行所有测试
uv run pytest -v             # 详细输出
uv run pytest --cov=genome_mcp --cov-report=html  # 覆盖率报告

# 🎯 运行特定测试
uv run pytest tests/unit/test_core_functionality.py -v
uv run pytest tests/integration/ -v

# 🔧 Makefile方式(兼容性)
make test                    # 传统测试方式
make test-cov                # 传统覆盖率测试

📦 构建和发布(uv现代化)

# 🚀 现代化构建流程(推荐uv)
uv build                     # 构建wheel和source包
uv publish                   # 发布到PyPI(需要认证)

# 🎯 运行MCP服务器(uv方式)
uv run -m genome_mcp         # STDIO模式(推荐)
uv run -m genome_mcp --port 8080      # HTTP模式
uv run -m genome_mcp --mode sse --port 8080  # SSE模式

# 🌐 零安装运行(uvx方式)
uvx genome-mcp               # 直接运行,无需本地安装
uvx genome-mcp --port 8080   # HTTP模式

# 🔧 传统方式(兼容性)
python -m genome_mcp         # 传统启动方式
make build                   # Makefile构建

🔧 uv 高级开发和部署

# 📦 依赖管理
uv add requests              # 添加生产依赖
uv add --dev pytest          # 添加开发依赖
uv remove requests           # 移除依赖
uv sync                      # 重新同步所有依赖

# 🌍 环境检查
uv run python --version      # 查看Python版本
uv run pip list             # 查看已安装包
uv tree                      # 查看依赖树

# 🚀 快速开发和调试
uv run                       # 启动交互式shell
uv run script.py            # 运行Python脚本
uv run python -c "print('Hello')"  # 快速执行Python代码

Read the full file on GitHub · 270 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 270 lines · 2,957 tokens per session scan A aea9add8b3d1

Subscribe to this mod's changes

genome-mcp CLAUDE.md is an instructions file published in the GitHub repository gqy20/genome-mcp (2 stars, last pushed 9mo ago), licensed MIT. It adds 2,957 tokens to every session, about $0.0148 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens