開発者向けナレッジAPIとMCPサーバーの紹介
Googleが開発者向けナレッジAPIとMCPサーバーをパブリックプレビューで公開。新しいツールセットを提供。
キーポイント
Googleが公式開発者ドキュメントへのプログラム的アクセスを提供する「Developer Knowledge API」を発表
AI開発者ツールが最新の公式ドキュメントを確実に参照できるようにする「Model Context Protocol (MCP) サーバー」を同時提供
Firebase、Android、Google Cloudなどの公式ドキュメントを24時間以内に更新されたMarkdown形式で検索・取得可能
AIアシスタントの回答精度と信頼性を向上させ、古い学習データやWebスクレイピングへの依存を低減
影響分析・編集コメントを表示
影響分析
この発表は、AI開発者ツールの最大の課題である「情報の鮮度と正確性」を公式ドキュメントで解決する画期的なアプローチであり、エージェント開発の信頼性を飛躍的に高める可能性がある。Googleが自社エコシステムの公式情報流通経路を整備することで、開発者体験の標準化とAIツールの実用性向上に大きく寄与する。
編集コメント
「AIのハルシネーション対策」として実用的なソリューションを提供する本格的なサービスで、開発者向けAIツールの進化に弾みがつきそう。他社も追随する動きが出る可能性が高い。
Google、開発者向けドキュメントにAIがアクセスするための「Developer Knowledge API」と「MCPサーバー」を発表
AIを活用した開発者ツールのエコシステムが拡大する中、これらのツールが正確で最新の公式ドキュメントにアクセスできるようにする方法が課題となっている。この課題を解決するため、Googleは「Developer Knowledge API」とそれに関連する「Model Context Protocol (MCP) サーバー」のパブリックプレビューを開始した。これらのツールは、Googleの公式開発者ドキュメントへの正統的かつ機械可読なゲートウェイを提供することを目的としている。
Developer Knowledge APIの概要
このAPIは、Googleの公開ドキュメントをプログラムから参照するための「信頼できる単一の情報源」として設計されている。従来のように、時代遅れになりうる学習データや脆弱なウェブスクレイピングに依存する代わりに、開発者はFirebase、Android、Google Cloudなどの公式ドキュメントページをMarkdown形式で検索・取得できる。主な特徴は以下の通り。
- 包括的なカバレッジ: firebase.google.com、developer.android.com、docs.cloud.google.comなど、主要なGoogle開発者向けサイトのドキュメントを網羅。
- 検索・取得機能: 関連するドキュメントページやスニペットを検索し、完全なMarkdownコンテンツを取得可能。
- 鮮度の確保: パブリックプレビュー期間中、ドキュメントの更新後24時間以内に再インデックスされ、最新の情報を提供する。
MCPサーバーによるAIツールの強化
APIと同時に、公式の「Model Context Protocol (MCP) サーバー」も提供される。MCPは、AIアシスタントが外部データソースに安全かつ容易にアクセスするためのオープン標準である。このMCPサーバーを統合開発環境(IDE)やAIアシスタントに接続することで、ツールはGoogleの開発者ドキュメントを「読む」能力を獲得する。これにより、以下のような信頼性の高い機能が実現する。
- 実装ガイダンス: 「Firebaseでプッシュ通知を実装する最良の方法は?」
- トラブルシューティング: 「Maps APIのApiNotActivatedMapErrorを修正する方法をドキュメントで確認できる?」
- 比較分析: 「この特定のユースケースにおけるGoogle Cloud RunとCloud Functionsを比較して」
このサーバーは、多くの人気AIアシスタントやツールと互換性がある。
利用開始方法
両ツールは現在、パブリックプレビューとして利用可能である。利用開始の手順は以下の通り。
- APIキーの作成: Google Cloudプロジェクトの認証情報ページで、Developer Knowledge API専用のAPIキーを生成・制限する。
- MCPサーバーの有効化: Google Cloud CLIをインストール後、
gcloudコマンドを使用してサーバーを有効にする。 - ツールの設定: 使用するツールの設定ファイル(例:
mcp_config.jsonやsettings.json)を更新し、詳細な設定手順に従う。
これら新ツールにより、開発者はAIアシスタントが常にGoogle技術の最新情報に基づいた正確な支援を行える環境を構築できる
原文を表示
Introducing the Developer Knowledge API and MCP Server
As the ecosystem of AI-powered developer tools—from agentic platforms like Antigravity to command-line interfaces like Gemini CLI—continues to expand, a critical challenge has emerged: how do we ensure these models have access to the most accurate, up-to-date documentation?
Large Language Models (LLMs) are only as good as the context they are given. When building with Google technology, developers need their AI assistants to know the latest Firebase features, the most recent Android API changes, and the current best practices for Google Cloud.
Today, we are excited to announce the public preview of the Developer Knowledge API and its associated Model Context Protocol (MCP) server. Together, these tools provide a canonical, machine-readable gateway to Google’s official developer documentation.
What is the Developer Knowledge API?
The Developer Knowledge API is designed to be the programmatic source of truth for Google’s public documentation. Instead of relying on potentially outdated training data or fragile web-scraping, developers can now search and retrieve Google developer documentation pages as Markdown.
Comprehensive coverage: Access documentation from firebase.google.com, developer.android.com, docs.cloud.google.com, and more.
Search and retrieve: Find relevant documentation pages and snippets, and then retrieve the full Markdown content.
Freshness: During our public preview documentation is re-indexed within 24 hours of an update, ensuring your tools stay current with the latest releases.
Powering AI tools with an MCP server
Alongside the API, we are releasing an official Model Context Protocol (MCP) server. MCP is an open standard that enables AI assistants to safely and easily access external data sources.
By connecting the Developer Knowledge MCP server to your IDE or AI assistant, you give it the ability to "read" Google’s developer documentation. This enables more reliable features, such as:
Implementation guidance: "What is the best way to implement push notifications in Firebase?"
Troubleshooting: "Can you check the docs to find out how to fix the ApiNotActivatedMapError in the Maps API?"
Comparative analysis: "Compare Google Cloud Run and Cloud Functions for this specific use case."
The server is compatible with a wide range of popular assistants and tools, as described in the documentation.
You can begin using the Developer Knowledge API and MCP server today in public preview.
Create an API key: You can generate and restrict an API key specifically for the Developer Knowledge API within the Credentials page of your Google Cloud project.
Enable the MCP server: Install the Google Cloud CLI, and then enable the MCP server via gcloud:gcloud beta services mcp enable developerknowledge.googleapis.com --project=PROJECT_ID
Configure your tool: Update your tool's configuration file (such as mcp_config.json or settings.json). Detailed configuration steps for various AI assistants can be found in the documentation.
This preview release focuses on providing high-quality, unstructured Markdown. As we move toward general availability, we plan to add support for structured content such as specific code sample objects and API reference entities. We will expand the corpus to include more of Google's developer documentation and reduce re-indexing latency.
We can’t wait to see how you integrate official Google knowledge into your agentic workflows and developer tools. Check out the full documentation to dive deeper, and let us know what you build!
AI Announcements Making Gemini CLI extensions easier to use
Gemini Web AI Tutorials How-To Guides Turn creative prompts into interactive XR experiences with Gemini
AI Cloud Announcements Best Practices Conductor Update: Introducing Automated Reviews
Android Google AI Studio AI Events Get ready for Google I/O 2026
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み