IELTS MCP Server
Connects Claude Desktop to Google Drive to access and analyze IELTS study materials without downloading, supporting PDFs, DOCX, and Google Docs.
README
📚 IELTS MCP Server
<div align="center">
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
- Go to Google Cloud Console
- Create a new project
- Navigate to APIs & Services → Library
- Search for Google Drive API → click Enable
Step 2 — Create OAuth credentials
- Go to APIs & Services → Credentials
- Click + Create Credentials → OAuth 2.0 Client ID
- Application type: Desktop app
- 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
- Go to APIs & Services → OAuth consent screen → Audience
- Scroll to Test users → Add users
- 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.jsonandtoken.jsonare 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.jsonandtoken.jsonto.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>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。