npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mseep/google-forms-server

v0.1.0

Published

MCP server for Google Forms integration

Readme

Google Forms MCP Server

このMCPサーバーは、Google FormsのAPIを使用して、フォームの作成、編集、回答の取得などの機能を提供します。

ビルド方法

初期セットアップ

リポジトリをクローンした後、依存関係をインストール

cd google-forms-server
npm install

サーバーのビルド

# メインのMCPサーバーをビルド
npm run build

リフレッシュトークン取得スクリプトのビルド

# リフレッシュトークン取得スクリプトをビルド
npm run build:token

開発環境における実行

# サーバーを直接実行
node build/index.js

# または、npm scriptを使用
npm run start

セットアップ方法

  1. Google Cloud Consoleでプロジェクトを作成し、Google Forms APIを有効にします。

    • https://console.cloud.google.com/
    • APIとサービス > ライブラリから「Google Forms API」を検索して有効にします。
  2. OAuth 2.0クライアントIDとシークレットを取得します。

    • APIとサービス > 認証情報 > 認証情報を作成 > OAuth クライアントID
    • アプリケーションの種類:「デスクトップアプリ」を選択
  3. 環境変数を設定してリフレッシュトークンを取得します。

    export GOOGLE_CLIENT_ID="あなたのクライアントID"
    export GOOGLE_CLIENT_SECRET="あなたのクライアントシークレット"
    cd google-forms-server
    npm run build
    node build/get-refresh-token.js

    注意: get-refresh-token.jsの実行時にエラーが発生する場合は、以下のコマンドを実行してください。

    cd google-forms-server
    npm run build:token
    node build/get-refresh-token.js
  4. 表示されたリフレッシュトークンをコピーします。

  5. Claudeのデスクトップアプリの設定ファイルを更新します。

    • ~/Library/Application Support/Claude/claude_desktop_config.jsonを開きます。
    • mcpServersセクションのgoogle-forms-serverに環境変数を追加します:
    "google-forms-server": {
      "command": "node",
      "args": [
        "/Users/nakamotomasatoshi/application/AI/mcp-google-form/google-forms-server/build/index.js"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "あなたのクライアントID",
        "GOOGLE_CLIENT_SECRET": "あなたのクライアントシークレット",
        "GOOGLE_REFRESH_TOKEN": "取得したリフレッシュトークン"
      }
    }
  6. Claudeのデスクトップアプリを再起動します。

使用可能なツール

このMCPサーバーは以下のツールを提供します:

  1. create_form - 新しいGoogleフォームを作成します
  2. add_text_question - フォームにテキスト質問を追加します
  3. add_multiple_choice_question - フォームに選択式質問を追加します
  4. get_form - フォームの詳細を取得します
  5. get_form_responses - フォームの回答を取得します

使用例

フォームを作成して、いくつかの質問を追加してください。

Claudeは以下のようなMCPツールを使用してフォームを作成します:

  1. create_formツールを使用して新しいフォームを作成
  2. add_text_questionadd_multiple_choice_questionツールを使用して質問を追加
  3. 作成されたフォームのURLを表示