Skip to main content
Glama
Attilio81

MCP Public APIs

by Attilio81

MCP Public APIs

An MCP server that indexes the public-apis catalogue and lets an LLM query it by category, auth type, HTTPS support, CORS, and keyword — without browsing the README manually.

Why

Without this MCP, an LLM recommending a public API has to guess or ask the user to check manually. With it, the LLM can say:

"I need a Books API, HTTPS, no auth, CORS-enabled for your React app." → query_apis(category="Books", no_auth=True, https=True, cors="yes")

Related MCP server: OpenAPI MCP Server

Tools

Tool

Description

list_categories

Returns all available API categories (Animals, Finance, …)

query_apis

Filters the index by keyword, category, auth, HTTPS, CORS

update_index

Re-downloads the README and rebuilds the index

query_apis parameters

Parameter

Type

Description

keyword

str

Substring match on name or description

category

str

Exact category (case-insensitive)

auth

str

"apiKey", "OAuth", "" (none), etc.

no_auth

bool

Shortcut: APIs that need no authentication

https

bool

True = HTTPS only, False = HTTP only

cors

str

"yes", "no", "unknown"

Installation

cd MCP_PUBLIC_APIS
pip install -e .

Running

mcp-public-apis

Or add it to your MCP client config:

{
  "mcpServers": {
    "public-apis": {
      "command": "mcp-public-apis"
    }
  }
}

Development

pip install -e ".[dev]"
pytest

Data Source

The index is built from the raw README.md of public-apis/public-apis on GitHub, which lists ~1400 public APIs organised into ~80 categories. The schema mirrors the README table exactly:

name · url · description · auth · https · cors · category

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updatesv0.1.0
    • First observedlist_categories
    • First observedupdate_index

TDQS

A3.8/5.0
Disambiguation5/5

The two tools have completely distinct purposes: one lists existing data (list_categories) and one updates the underlying data source (update_index). There is no overlap in functionality or ambiguity about when to use each tool.

Naming Consistency5/5

Both tools follow a consistent verb_noun naming pattern (list_categories, update_index) with clear, descriptive names that indicate their actions and targets. The naming style is uniform throughout.

Tool Count2/5

With only 2 tools, the server feels severely under-scoped for a 'Public APIs' domain. This minimal set lacks essential operations like searching APIs, getting API details, or filtering categories, which are core expectations for such a service.

Completeness2/5

The tool surface is significantly incomplete for a public APIs index. While it covers index maintenance (update_index) and basic listing (list_categories), it misses fundamental operations like retrieving specific API information, searching APIs by criteria, or accessing API endpoints, leaving agents unable to perform typical API discovery tasks.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A generic MCP server that dynamically exposes any OpenAPI-documented REST API to LLMs by auto-discovering endpoints. It provides tools for exploring API capabilities and making authenticated requests directly through natural language interfaces.
    2
    14
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that gives AI coding agents real-time access to the public-apis dataset, enabling search, live probing, and code snippet generation for 1,500+ free public APIs.
    7
    66
    5
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Attilio81/MCP_PUBLIC_APIS'

If you have feedback or need assistance with the MCP directory API, please join our Discord server