This server gives Claude access to BERT-based keyphrase extraction when you need more accuracy than asking an LLM to pull out key terms. It exposes a single tool that reads local files from allowable directories and returns ranked keyphrases without sending the full content to the LLM. Under the hood it runs KeyBERT with spaCy preprocessing and paraphrase-multilingual-MiniLM-L12-v2 embeddings, using MMR to keep results diverse. Reach for this when you're processing documents where bidirectional context matters or you want to save tokens by extracting semantic tags locally before feeding them into your workflow. You can specify stop words and control how many phrases come back.
Empowering LLMs with authentic keyphrase Extraction
Built with the following tools and technologies:
This Keyphrases MCP Server is a natural language interface designed for agentic applications to extract keyphrasess from provided text. It integrates seamlessly with MCP (Model Content Protocol) clients, enabling AI-driven workflows to extract keyphrases more accurately and with higher relevance using the BERT machine learning model. It works directly with your local files in the allowed directories saving the context tokens for the LLM. The application ensures secure document processing by exposing only extracted keyphrases to the MCP client, not the original file content.
Using this MCP Server, you can ask the following questions:
Keyphrases help users quickly grasp the main topics and themes of a document without reading it in full and enable the following applications:
Autoregressive LLM models such as in Claude or ChatGPT process text sequentially, which—not only limits their ability to fully contextualize keyphrases across the entire document—but also suffers from context degradation as the input length increases, causing earlier keyphrases to receive diluted attention.
Bidirectional models like BERT, by considering both left and right context and maintaining more consistent attention across the sequence, generally extract existing keyphrases from texts more accurately and with higher relevance especially when no domain-specific fine-tuning is applied.
However, as autoregressive models adopt longer context windows and techniques such as input chunking, their performance in keyphrase extraction is improving, narrowing the gap with BERT. And domain-specific fine-tuning can make autoregressive LLM model to outperform the BERT solution.
This MCP server combines BERT for keyphrase extraction with an autoregressive LLM for text generation or refinement, enabling seamless text processing.
The server uses a KeyBERT framework for the multi-step extraction pipeline combining spaCy NLP preprocessing with BERT embeddings:
See configuration document for details.
This project is licensed under the MIT License.
For questions or support, reach out via GitHub Issues.
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp