Pubmed pico search

From u9401066/pubmed-search-mcp · View interactive version

Pubmed pico search is an AI agent skill from the GitHub repository u9401066/pubmed-search-mcp. Agent-guided PICO clinical question search using validate_pico_plan handoff and unified_search. Triggers: PICO, 臨床問題, A比B好嗎, treatment comparison, clinical question, 療效比較

How to use this skill

Skill file

PICO Clinical Question Search

Use this workflow for clinical comparison questions. The MCP server does not

semantically parse natural-language clinical questions. The agent extracts

P/I/C/O, submits the structured handoff through validate_pico_plan, and then executes

the returned template: pico pipeline or an expanded Boolean query.

PICO Elements

| Element | Meaning | Example |

| --- | --- | --- |

| P | Population / patient group | ICU patients requiring sedation |

| I | Intervention / exposure / index test | remimazolam |

| C | Comparator, optional | propofol |

| O | Outcome, recommended | delirium, hypotension, sedation efficacy |

Workflow

Agent extracts P/I/C/O
-> validate_pico_plan(description, p, i, c, o)
-> optional generate_search_queries for P/I/C/O expansion
-> unified_search(query=original_question, pipeline=validate_pico_plan.pipeline)

Step 1: Agent Extracts PICO

Do the semantic work in the agent. Do not ask the MCP server to infer P/I/C/O

from free text. If P or I is unclear, ask the user before searching. Do not

invent missing clinical details.

Step 2: Validate The Handoff

pico = validate_pico_plan(
    description="Is remimazolam better than propofol for ICU sedation?",
    p="ICU patients requiring sedation",
    i="remimazolam",
    c="propofol",
    o="delirium, hypotension, sedation efficacy",
    question_type="therapy",
    sources=["pubmed", "europe_pmc"],
    limit=50,
)

Expected useful fields:

When only description is provided, validate_pico_plan returns a schema and asks the

agent to call it again with structured elements.

Step 3: Optional MeSH / Synonym Expansion

Use this when the topic needs controlled vocabulary or systematic-review style

coverage.

generate_search_queries(topic="ICU patients")
generate_search_queries(topic="remimazolam")
generate_search_queries(topic="propofol")
generate_search_queries(topic="delirium")

If you build high-quality fragments, pass them back as:

validate_pico_plan(
    description="Is remimazolam better than propofol for ICU sedation?",
    p="ICU patients requiring sedation",
    p_query='("Intensive Care Units"[MeSH] OR ICU[tiab])',
    i="remimazolam",
    i_query="(remimazolam[tiab] OR CNS7056[tiab])",
    c="propofol",
    c_query='("Propofol"[MeSH] OR propofol[tiab])',
    o="delirium",
    o_query='("Delirium"[MeSH] OR delirium[tiab])',
)

Step 4: Execute Search

unified_search(
    query="Is remimazolam better than propofol for ICU sedation?",
    pipeline=pico["pipeline"],
    ranking="quality",
)

The backend PICO pipeline searches O-aware precision and recall variants,

deduplicates results, merges ranked lists, and enriches the final set.

Missing Fields

Recommended Reporting

Always show the final P/I/C/O table, the query or pipeline profile used, and the

main limits such as sources, years, species, and clinical query filter.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.