Skip to main content
Glama
Sketch Engine MCP Server

Sketch Engine MCP Server

by ricCap

Sketch Engine MCP Server

A tool that connects Claude (AI assistant) to Sketch Engine, enabling powerful corpus linguistics and text analysis directly in your conversations with Claude.

alt text

alt text

What is This?

This server lets Claude access Sketch Engine's massive text databases (corpora) to help you with linguistic research, language learning, writing, and text analysis. You can ask Claude questions like:

  • "What are the most common collocations with 'artificial intelligence'?"

  • "Show me how the word 'literally' is used in modern English"

  • "Compare how 'affect' and 'effect' are used in academic writing"

Claude will use Sketch Engine's tools to give you detailed, corpus-based answers.

Related MCP server: mcp-marketing-analytics

Quick Start

No technical knowledge required! Just download, configure, and go.

Step 1: Download

Download the standalone executable for your system from the releases page:

  • Linux: sketch-engine-mcp-linux-x64

  • macOS (Intel): sketch-engine-mcp-macos-x64

  • macOS (Apple Silicon/M1/M2/M3): sketch-engine-mcp-macos-arm64

  • Windows: sketch-engine-mcp-win-x64.exe

No installation needed! These are standalone executables that work out of the box.

For Linux/macOS: Make it executable

After downloading, open Terminal and run:

chmod +x sketch-engine-mcp-linux-x64

(Replace with your actual filename)

Step 2: Get Your Sketch Engine API Key

You need a free Sketch Engine account:

  1. Go to https://www.sketchengine.eu

  2. Click "Register" to create a free account (or log in if you have one)

  3. After logging in, click your username in the top-right corner

  4. Select "My Account"

  5. Find the "API Key" section

  6. Click "Generate API Key" if you don't have one

  7. Copy your API key - you'll need it in the next step

Keep this key private! It's like a password for your Sketch Engine account.

Step 3: Configure Claude

You need to tell Claude about this server. Don't worry - it's just editing one configuration file.

Find Your Config File

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Tip for macOS/Linux: Open Terminal and run:

mkdir -p ~/.config/Claude  # Create directory if needed
nano ~/.config/Claude/claude_desktop_config.json  # Edit file

Add This Configuration

Copy and paste this into the config file:

{
  "mcpServers": {
    "sketch-engine": {
      "command": "/path/to/sketch-engine-mcp-linux-x64",
      "env": {
        "SKETCH_ENGINE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace two things:

  1. /path/to/sketch-engine-mcp-linux-x64 - The full path to where you downloaded the executable

  2. your_api_key_here - Your actual API key from Step 2

Example (macOS):

{
  "mcpServers": {
    "sketch-engine": {
      "command": "/Users/yourname/Downloads/sketch-engine-mcp-macos-arm64",
      "env": {
        "SKETCH_ENGINE_API_KEY": "abc123xyz789"
      }
    }
  }
}

Save the file and restart Claude Desktop (or Claude Code CLI).

Step 4: Try It Out!

Open Claude and try these example questions:

"Use Sketch Engine to list available corpora"
"Find collocations for 'climate change' in the EnTenTen21 corpus"
"Show me concordances for the word 'serendipity'"

If it works, you'll see Claude using the Sketch Engine tools to answer your questions!

What Can You Do?

This server gives Claude access to these Sketch Engine tools:

Core Analysis Tools

  • Word Sketches: See how words are typically used (grammatical patterns, collocations)

  • Concordances: Find real examples of words or phrases in context

  • Word Lists: Generate frequency lists of words in any corpus

  • Word Comparison: Compare how two similar words are used differently

  • Collocations: Find words that commonly appear together

Advanced Tools

  • Frequency Analysis: Analyze how often words/phrases appear

  • Keyword Extraction: Find characteristic words by comparing two corpora

  • Custom Queries: Run advanced searches using CQL (Corpus Query Language)

Examples of What You Can Ask Claude

"Compare the usage of 'effect' and 'affect' in academic English"
"What are the most common adjectives used with 'solution'?"
"Find examples of 'literally' being used in the EnTenTen corpus"
"Generate a word frequency list for the Susanne corpus"
"Show me concordances for 'break * ice' (phrasal pattern)"

For more detailed examples and workflows, see docs/EXAMPLES.md.

Troubleshooting

"Command not found" or "No such file"

  • Check that the path in your config file is correct (use full absolute path)

  • On Linux/macOS, make sure you ran chmod +x on the executable

"Invalid API key" or "Authentication failed"

  • Double-check that you copied your API key correctly from Sketch Engine

  • Make sure there are no extra spaces in the config file

Claude doesn't show Sketch Engine tools

  • Restart Claude Desktop (or Claude Code CLI)

  • Check that your config file JSON is valid (use a JSON validator online if needed)

Still having issues?

  • See the detailed User Guide for step-by-step instructions with screenshots

  • Report issues on GitHub

For Developers

If you want to build from source, contribute, or understand how this works:

About Sketch Engine

Sketch Engine is a leading corpus management and text analysis tool used by linguists, lexicographers, translators, and language learners worldwide. It provides access to massive text databases (corpora) in 90+ languages.

License

See LICENSE file for details.

Available Tools

10 tools
execute_cql_queryA

Execute arbitrary CQL (Corpus Query Language) queries. Documentation: https://www.sketchengine.eu/documentation/corpus-querying/. Use 'q' for simple queries or 'json' for complex queries with filters/sorts. Do not use both simultaneously.

Inputs: corpname (required), q, json, refs, +3 more.

get_collocationsC

Get collocations for a query

Inputs: q (required), cattr (required), corpname (required), format.

get_concordanceC

Search for concordance lines in a corpus

Inputs: q (required), corpname (required), pagesize.

get_corporaB

List available corpora

Inputs: format.

get_corpus_infoC

Get statistics and information about a corpus

Inputs: corpname (required), format, usesubcorp.

get_frequency_distributionC

Get frequency distribution for a query

Inputs: q (required), ml1ctx (required), ml1attr (required), corpname (required), +3 more.

get_keywordsB

Extract keywords by comparing two corpora

Inputs: corpname (required), ref_corpname (required), format, wlmaxitems.

get_wordlistC

Generate a wordlist from a corpus

Inputs: corpname (required), format, wlattr, wlmaxitems.

get_word_sketchB

Get word sketch (grammatical relations) for a lemma

Inputs: lemma (required), corpname (required), format.

get_word_sketch_diffA

Compare the behavior of two words/lemmas via their collocations. Returns scores indicating which collocation is more typical of which word, useful for observing differences between similar words.

Inputs: lemma (required), lemma2 (required), corpname (required), lpos, +10 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct linguistic operation (corpus info, wordlist, concordance, word sketch, collocations, keywords, frequency, CQL queries, comparison), with no overlapping purposes.

    Naming Consistency4/5

    All tools follow a verb_noun pattern starting with 'get_', except 'execute_cql_query' which uses 'execute_'. This minor deviation prevents a perfect score.

    Tool Count5/5

    10 tools cover a comprehensive range of corpus analysis operations without being excessive. The count is well-suited for the domain.

    Completeness4/5

    The set covers core corpus functions (list, info, wordlist, concordance, word sketch, collocations, keywords, frequency, CQL, comparison). While no glaring gaps exist, a tool for lemma extraction or token listing could further enhance completeness.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Connects Claude AI to SketchUp, allowing you to create and modify 3D models via natural language commands.
      21
      7
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Connects Claude to Google Analytics 4 for querying website analytics via natural language, enabling traffic summaries, top pages, traffic sources, and user engagement.
      4
      -
    • A
      license
      B
      quality
      C
      maintenance
      Connects Claude to Google Search Console, GA4, Bing Webmaster Tools, IndexNow, PageSpeed Insights, AdSense and Google Ads Keyword Planner, plus live technical SEO audits of pages and sitemaps. Users ask plain-language questions about traffic drops, index status, canonicals, AI referral traffic and keyword volumes, and answers are pulled live from the APIs in real time.
      28
      18 npm
      MIT