Es Fetch Api

🌐Community
by lchrennew · vlatest · Repository

Provides API guidance and assistance for agent workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add es-fetch-api npx -- -y @trustedskills/es-fetch-api
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "es-fetch-api": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/es-fetch-api"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides access to the Fetch API, a modern interface for making HTTP requests. It allows AI agents to retrieve resources from URLs, handle responses (including JSON parsing), and generally interact with web services programmatically. The skill enables fetching data from APIs, downloading files, or interacting with web-based tools.

When to use it

  • Data Retrieval: An agent needs to get current weather information for a specific location by querying an API.
  • File Downloads: An agent is tasked with downloading a PDF report from a URL.
  • Web Scraping (Limited): While not its primary purpose, the skill can be used to retrieve HTML content from websites, which could then be parsed further.
  • API Interaction: An agent needs to interact with a third-party service that exposes an API endpoint.

Key capabilities

  • fetch: The core function for making HTTP requests.
  • JSON parsing of responses: Automatically parses JSON responses from APIs.
  • Error handling: Provides mechanisms for dealing with failed requests.
  • URL construction: Allows building URLs dynamically.

Example prompts

  • "Fetch the data from https://api.example.com/data and parse the JSON response."
  • "Download the file from https://www.example.com/report.pdf."
  • “Get me the current weather for London using this API: https://weatherapi.com/london

Tips & gotchas

  • The agent needs to understand URL syntax and how APIs work to effectively use this skill.
  • Be mindful of rate limits when fetching data from external APIs.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
lchrennew
Installs
19

🌐 Community

Passed automated security scans.