Google Developer Knowledge API & MCP Server

Summary

A reference for Google's Developer Knowledge API and its official Model Context Protocol server, which provide a canonical, machine-readable gateway to Google's public developer documentation across Firebase, Android, and Google Cloud. Connecting the MCP server lets an AI assistant retrieve fresh documentation as Markdown, replacing outdated training data and fragile scraping with an authoritative source for implementation and troubleshooting.

Google has released a public preview of the Developer Knowledge API and an official MCP server built on it. Together they give AI agents and developer tools a canonical, machine-readable path to Google’s official documentation — so an assistant answers from current docs instead of stale training data.

The Developer Knowledge API

The Developer Knowledge API is meant to be the programmatic source of truth for Google’s public documentation. Rather than scraping pages or trusting whatever the model absorbed at training time, an agent searches for the right pages and retrieves them as Markdown.

  • Coverage: documentation across Firebase, Android, Google Cloud, and more.
  • Search and retrieve: find relevant pages, then pull their full Markdown content.
  • Freshness: during the preview, pages are re-indexed within 24 hours of an update.

The official MCP server

The MCP server exposes that API to any compatible IDE or assistant, letting the agent “read” Google’s docs in real time. That supports workflows such as:

  • Implementation guidance — “What’s the recommended way to implement push notifications in Firebase?”
  • Troubleshooting — “Check the docs for how to fix the ApiNotActivatedMapError in the Maps API.”
  • Comparison — “Compare Cloud Run and Cloud Functions for this use case.”

Getting started

  1. Create an API key. Generate and restrict a key for the Developer Knowledge API on your project’s Credentials page.
  2. Enable the MCP server with the Google Cloud CLI:
    bash
    gcloud beta services mcp enable developerknowledge.googleapis.com --project=PROJECT_ID
  3. Configure your tool. Add the server to your assistant’s configuration file (for example, mcp_config.json), following the official documentation.

Direction

The preview serves unstructured Markdown. Planned work includes structured content — code-sample objects and API-reference entities — along with a wider documentation corpus and lower re-indexing latency.

See also

Key Concepts
  • Developer Knowledge API
  • Model Context Protocol (MCP)
  • Google Cloud
  • Firebase
  • Android
  • Agentic Tools
  • Documentation API
This entry was posted in . Bookmark the permalink.