manojbajaj95/mcp-skill · Archived

pubmed

Use this skill when you need to work with pubmed through its generated async Python app, call its MCP-backed functions from code, or inspect available functions with the mcp-skill CLI.

First seen Mar 9, 2026

Installation

$ npx skills add manojbajaj95/mcp-skill --skill pubmed

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from manojbajaj95/mcp-skill · top by installs.

npx skills add manojbajaj95/mcp-skill

Browse all from manojbajaj95/mcp-skill

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
short-description
Use pubmed from async Python

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,817 B
  • docs SUMMARY.md 198 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 16 installs

SKILL.md

pubmed

Use this skill when you need to work with pubmed through its generated async Python app, call its MCP-backed functions from code, or inspect available functions with the mcp-skill CLI.

Authentication

No authentication required.

app = PubmedApp()

Passing an auth argument is accepted but has no effect and will emit a warning.

Dependencies

This skill requires the following Python packages:

  • mcp-skill

Install with uv:

uv pip install mcp-skill

Or with pip:

pip install mcp-skill

Python Usage

Use the generated app directly in async Python code:

import asyncio
from pubmed.app import PubmedApp


async def main():
    app = PubmedApp()
    result = await app.search_articles(query="example", max_results=1, sort="example")
    print(result)


asyncio.run(main())

Async Usage Notes

  • Every generated tool method is async, so call it with await.
  • Use these apps inside an async function, then run that function with asyncio.run(...) if you are in a script.
  • If you forget await, you will get a coroutine object instead of the actual tool result.
  • Be careful when mixing this with other event-loop environments such as notebooks, web servers, or async frameworks.

Discover Functions with the CLI

Use the CLI to find available apps, list functions on an app, and inspect a function before calling it:

uvx mcp-skill list-apps
uvx mcp-skill list-functions pubmed
uvx mcp-skill inspect pubmed search_articles

Important: Add .agents/skills to your Python path so imports resolve correctly:

import sys
sys.path.insert(0, ".agents/skills")
from pubmed.app import PubmedApp

Or set the PYTHONPATH environment variable:

export PYTHONPATH=".agents/skills:$PYTHONPATH"

Preferred: use uv run (handles dependencies automatically):

PYTHONPATH=.agents/skills uv run --with mcp-skill python -c "
import asyncio
from pubmed.app import PubmedApp

async def main():
    app = PubmedApp()
    result = await app.search_articles(query="example", max_results=1, sort="example")
    print(result)

asyncio.run(main())
"

Alternative: use python directly (install dependencies first):

pip install mcp-skill
PYTHONPATH=.agents/skills python -c "
import asyncio
from pubmed.app import PubmedApp

async def main():
    app = PubmedApp()
    result = await app.search_articles(query="example", max_results=1, sort="example")
    print(result)

asyncio.run(main())
"