New:Socket for Asana Is Now Available.Learn more
Get Started

public-api-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

public-api-toolkit

A cross-platform MCP server that turns public APIs into clean, agent-ready tools.

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
12
71.43%
Maintainers
1
Weekly downloads
 
Created
Source

Public API Toolkit

Public API Toolkit is a cross-platform MCP server that turns public APIs into clean, agent-ready tools.

It packages 41 grouped public_api_<group> tools behind one local MCP server, so agents can ask for weather, countries, crypto prices, holidays, Wikipedia summaries, open data, transport lookups, and dozens of other structured API results without scraping web pages first.

Why It Exists

  • Structured JSON beats brittle scraping for repeatable agent workflows.
  • One MCP server is easier to install than wiring dozens of single-purpose connectors.
  • Premium providers are optional, so the server stays useful even without API keys.
  • The same tool surface can be reused across Codex, Claude Code, Cursor, and other MCP clients.

Client Support

ClientStatusNotes
CodexDirectLocal stdio MCP server via ~/.codex/config.toml
Claude CodeDirectLocal stdio MCP server via .mcp.json or claude mcp add-json
CursorDirectLocal stdio MCP server via mcp.json
OpenCodeDirectLocal MCP server via opencode.jsonc
Gemini CLIDirectLocal settings.json MCP or extension install from this repo
GitHub Copilot CLIDirect after publishDirect repo plugin install via .claude-plugin and .mcp.json
Generic MCP clientsDirectUse the same stdio command shape if the client supports local MCP processes
ChatGPT Apps / remote MCPPartialRequires a remote MCP transport; this repo currently ships stdio only

Quick Start

Run From Source

npm install
npm test
npm run build
node dist/index.js

Run After npm Publish

npx -y public-api-toolkit

Add It To A Client

Tool Coverage

Public API Toolkit exposes 41 tools across these categories:

  • Data reference: countries, dictionaries, books, universities
  • Geolocation: geocoding and IP lookup
  • Finance: FX, crypto, stocks
  • Weather and environment: forecasts, air quality, carbon
  • Development: HTTP utilities, DNS, code execution, screenshots, placeholder data
  • Text and knowledge: translation, text analysis, Wikipedia, news
  • Media and entertainment: images, music, movies, games
  • Science and lifestyle: math, space, food, blockchain, holidays, transport
  • Validation and security: email, phone, content validation, security feeds, jobs
  • Civic data: government, health, and open data sets

The full catalog lives in docs/configuration/tool-groups.md.

API Keys

Most tools work without authentication. Optional premium-compatible providers are activated through PUBLIC_APIS_<NAME> environment variables such as:

  • PUBLIC_APIS_FINNHUB
  • PUBLIC_APIS_ALPHAVANTAGE
  • PUBLIC_APIS_FRED
  • PUBLIC_APIS_OMDB
  • PUBLIC_APIS_TMDB
  • PUBLIC_APIS_CARBON_INTERFACE
  • PUBLIC_APIS_MAILCHECK
  • PUBLIC_APIS_KICKBOX
  • PUBLIC_APIS_OPEN_CHARGE_MAP
  • PUBLIC_APIS_FOODDATA_CENTRAL

Details:

Repository Guide

Packaging

This repo includes:

  • plugins/public-api-toolkit/.mcp.json for Codex-compatible MCP packaging
  • plugins/public-api-toolkit/.codex-plugin/plugin.json for Codex plugin metadata
  • .claude-plugin/plugin.json and root .mcp.json for direct GitHub Copilot CLI plugin install
  • gemini-extension.json and GEMINI.md for Gemini CLI extension install
  • .codex/INSTALL.md and .opencode/INSTALL.md for fetch-and-follow setup flows
  • skills/public-api-toolkit/SKILL.md for agent routing guidance
  • examples/ with ready-to-copy config snippets

Runtime Notes

  • Transport: stdio MCP server
  • Upstream timeout: 15 seconds
  • Response cap: 30,000 characters with a truncation marker
  • User agent: public-api-toolkit/1.0

Keywords

mcp

FAQs

Package last updated on 16 Apr 2026

Related posts