IELTS MCP Server

IELTS MCP Server

Connects Claude Desktop to Google Drive to access and analyze IELTS study materials without downloading, supporting PDFs, DOCX, and Google Docs.

Category
Visit Server

README

๐Ÿ“š IELTS MCP Server

<div align="center">

FastMCP Python uv License Platform

A FastMCP server that connects Claude Desktop directly to your Google Drive IELTS study materials.

Read PDFs, DOCX files, and Google Docs โ€” without downloading anything to your local machine.

</div>


โœจ Features

  • ๐Ÿ”— Direct Google Drive access โ€” connect to your Drive folder without downloading files
  • ๐Ÿ“„ Multi-format support โ€” PDF, DOCX, Google Docs, Google Sheets, TXT
  • ๐Ÿ” Smart search โ€” find documents by filename across your entire Drive
  • ๐Ÿ“ Folder navigation โ€” browse nested folder structures
  • ๐Ÿค– AI-powered analysis โ€” generate IELTS practice questions and extract vocabulary (requires Azure OpenAI)
  • ๐Ÿ“– Built-in IELTS resources โ€” band descriptors, task formats, writing criteria
  • ๐ŸŽฏ Reusable prompts โ€” IELTS tutor, essay feedback, question generator

๐Ÿ—๏ธ Architecture

Claude Desktop
      โ”‚  stdio (JSON-RPC 2.0)
      โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚        FastMCP Server           โ”‚
โ”‚                                 โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ tools/  โ”‚  โ”‚  resources/  โ”‚  โ”‚
โ”‚  โ”‚         โ”‚  โ”‚              โ”‚  โ”‚
โ”‚  โ”‚ gdrive  โ”‚  โ”‚ ielts://     โ”‚  โ”‚
โ”‚  โ”‚ local   โ”‚  โ”‚ band-desc    โ”‚  โ”‚
โ”‚  โ”‚ analyze โ”‚  โ”‚ task-types   โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚                     โ”‚
   โ–ผ                     โ–ผ
Google Drive        Azure OpenAI
(OAuth 2.0)         (optional)

๐Ÿ“‹ Prerequisites

  • Python 3.11+
  • uv โ€” fast Python package manager
  • Claude Desktop
  • Google account with Drive access
  • Google Cloud project with Drive API enabled

๐Ÿš€ Installation

1. Install uv

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Clone and install

git clone https://github.com/your-username/ielts-mcp-server.git
cd ielts-mcp-server
uv sync

That's it โ€” uv sync creates the virtual environment and installs all dependencies automatically. No manual venv or pip install needed.

3. Configure environment

cp .env.example .env

Edit .env:

# Path to local IELTS documents (optional, if not using Google Drive)
DOCUMENTS_DIR=./documents

# Azure OpenAI (optional, for AI-powered tools)
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_KEY=your-key-here
AZURE_OPENAI_DEPLOYMENT=gpt-4o

๐Ÿ”‘ Google Drive Setup

Step 1 โ€” Create a Google Cloud project

  1. Go to Google Cloud Console
  2. Create a new project
  3. Navigate to APIs & Services โ†’ Library
  4. Search for Google Drive API โ†’ click Enable

Step 2 โ€” Create OAuth credentials

  1. Go to APIs & Services โ†’ Credentials
  2. Click + Create Credentials โ†’ OAuth 2.0 Client ID
  3. Application type: Desktop app
  4. Click Create โ†’ Download JSON

Step 3 โ€” Install credentials file

Rename the downloaded file to credentials.json and place it here:

# macOS / Linux
~/.ielts_mcp/credentials.json

# Windows
C:\Users\<your-username>\.ielts_mcp\credentials.json
# macOS / Linux
mkdir -p ~/.ielts_mcp
mv ~/Downloads/client_secret_*.json ~/.ielts_mcp/credentials.json

# Windows (PowerShell)
mkdir $env:USERPROFILE\.ielts_mcp
mv $env:USERPROFILE\Downloads\client_secret_*.json $env:USERPROFILE\.ielts_mcp\credentials.json

Step 4 โ€” Add yourself as a test user

  1. Go to APIs & Services โ†’ OAuth consent screen โ†’ Audience
  2. Scroll to Test users โ†’ Add users
  3. Enter your Gmail address โ†’ Save

โš™๏ธ Claude Desktop Configuration

Find the config file:

OS Path
Windows %AppData%\Claude\claude_desktop_config.json
macOS ~/Library/Application Support/Claude/claude_desktop_config.json

Add the mcpServers key:

{
  "mcpServers": {
    "ielts-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/ielts-mcp-server",
        "run",
        "ielts-mcp",
        "--stdio"
      ]
    }
  }
}

Windows example:

{
  "mcpServers": {
    "ielts-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "D:/python/tung_mcp",
        "run",
        "ielts-mcp",
        "--stdio"
      ]
    }
  }
}

macOS example:

{
  "mcpServers": {
    "ielts-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/yourname/ielts-mcp-server",
        "run",
        "ielts-mcp",
        "--stdio"
      ]
    }
  }
}

Why uv run? It automatically uses the project's virtual environment โ€” no need to find the exact path to the executable, and it works the same across all platforms.

Restart Claude Desktop โ€” you should see the ๐Ÿ”จ tools icon in the chat input.


๐Ÿ’ฌ Usage

First-time authentication

On the first tool call, a browser window will open automatically:

Claude: "Let me list your IELTS files..."
โ†’ Browser opens โ†’ Sign in with Google โ†’ Allow access
โ†’ Token saved to ~/.ielts_mcp/token.json
โ†’ Works automatically from now on

Example prompts

Browse your Drive:

List all files in my IELTS Drive folder

Read a document:

Read Cambridge 20.pdf and summarize the reading passages

Generate practice questions:

Read IELTS Band 9 Vocab Secrets.pdf and create 10 flashcards

Get writing feedback:

Read cause_solution_task2.docx and analyze it against IELTS writing criteria

Search your materials:

Find all files related to Writing Task 2 in my Drive

๐Ÿ› ๏ธ Available Tools

Tool Description
gdrive_list_files Search files across Drive by keyword
gdrive_list_folder List all files inside a specific folder
gdrive_read_file Read content of a PDF, DOCX, or Google Doc
gdrive_search Search files by filename
list_documents List local files (requires DOCUMENTS_DIR)
read_document Read local PDF, DOCX, or TXT
search_documents Search local files by name
analyze_text Estimate IELTS band level of a text (needs Azure OpenAI)
generate_questions Generate IELTS-style questions from a passage (needs Azure OpenAI)
extract_vocabulary Extract key IELTS vocabulary with definitions (needs Azure OpenAI)

๐Ÿ“– Available Resources

URI Description
ielts://band-descriptors Band 1โ€“9 descriptors
ielts://task-types Reading, Writing, Listening, Speaking formats
ielts://writing-criteria Task Achievement, CC, LR, GRA criteria

๐ŸŽฏ Available Prompts

Prompt Description
ielts_tutor IELTS tutor persona for a target band score
essay_feedback Detailed Writing Task 1/2 feedback
question_generator Generate questions from a passage

๐Ÿ“ Project Structure

ielts-mcp-server/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ ielts_mcp/
โ”‚       โ”œโ”€โ”€ server.py               # FastMCP instance + entry point
โ”‚       โ”œโ”€โ”€ config.py               # Pydantic settings from .env
โ”‚       โ”œโ”€โ”€ tools/
โ”‚       โ”‚   โ”œโ”€โ”€ gdrive_tools.py     # Google Drive tools (OAuth)
โ”‚       โ”‚   โ”œโ”€โ”€ document_tools.py   # Local file tools
โ”‚       โ”‚   โ””โ”€โ”€ analysis_tools.py   # AI tools (Azure OpenAI)
โ”‚       โ”œโ”€โ”€ resources/
โ”‚       โ”‚   โ””โ”€โ”€ __init__.py         # ielts:// URI resources
โ”‚       โ””โ”€โ”€ prompts/
โ”‚           โ””โ”€โ”€ __init__.py         # Reusable prompt templates
โ”œโ”€โ”€ tests/
โ”‚   โ””โ”€โ”€ test_tools.py
โ”œโ”€โ”€ .env.example
โ”œโ”€โ”€ pyproject.toml
โ””โ”€โ”€ README.md

โž• Adding a New Tool

# 1. Create the function in src/ielts_mcp/tools/my_tools.py
async def my_tool(param: str) -> dict:
    """Description shown to Claude."""
    return {"result": param}

# 2. Register in src/ielts_mcp/tools/__init__.py
from .my_tools import my_tool

def register_tools(mcp: FastMCP) -> None:
    ...
    mcp.tool()(my_tool)   # add this line

๐Ÿงช Running Tests

uv run pytest -v

๐ŸชŸ Windows Quick Start Script

Create start-mcp.bat in the project root:

@echo off
uv --directory D:\python\tung_mcp run ielts-mcp --stdio

Double-click to start the server without opening VS Code or activating a venv manually.


๐Ÿ”’ Security Notes

  • credentials.json and token.json are stored in ~/.ielts_mcp/ and never committed to git
  • The server requests read-only Drive scope (drive.readonly) โ€” it cannot modify your files
  • OAuth tokens auto-refresh and are stored locally only
  • Add credentials.json and token.json to .gitignore
.env
.venv/
__pycache__/
*.pyc
*.egg-info/

๐Ÿ“„ License

MIT License โ€” see LICENSE for details.


<div align="center"> Built with <a href="https://gofastmcp.com">FastMCP</a> ยท Managed by <a href="https://docs.astral.sh/uv/">uv</a> ยท Powered by <a href="https://claude.ai">Claude</a> </div>

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured