Supports DuckDB conversion for data storage and retrieval in the similarity search function.
Uses environment variables to configure various API connections and service endpoints.
Utilizes Ollama server for embedding generation to support the similarity search functionality.
Integrates with Azure OpenAI for advanced functionality related to search and content processing.
Enables PostgreSQL integration with pgvector extension for storing and querying vectorized data from search results.
parquet_mcp_server
A powerful MCP (Model Control Protocol) server that provides tools for performing web searches and finding similar content. This server is designed to work with Claude Desktop and offers two main functionalities:
- Web Search: Perform a web search and scrape results
- Similarity Search: Extract relevant information from previous searches
This server is particularly useful for:
- Applications requiring web search capabilities
- Projects needing to find similar content based on search queries
Installation
Installing via Smithery
To install Parquet MCP Server for Claude Desktop automatically via Smithery:
Clone this repository
Create and activate virtual environment
Install the package
Environment
Create a .env
file with the following variables:
Usage with Claude Desktop
Add this to your Claude Desktop configuration file (claude_desktop_config.json
):
Available Tools
The server provides two main tools:
- Search Web: Perform a web search and scrape results
- Required parameters:
queries
: List of search queries
- Optional parameters:
page_number
: Page number for the search results (defaults to 1)
- Required parameters:
- Extract Info from Search: Extract relevant information from previous searches
- Required parameters:
queries
: List of search queries to merge
- Required parameters:
Example Prompts
Here are some example prompts you can use with the agent:
For Web Search:
For Extracting Info from Search:
Testing the MCP Server
The project includes a comprehensive test suite in the src/tests
directory. You can run all tests using:
Or run individual tests:
You can also test the server using the client directly:
Troubleshooting
- If you get SSL verification errors, make sure the SSL settings in your
.env
file are correct - If embeddings are not generated, check:
- The Ollama server is running and accessible
- The model specified is available on your Ollama server
- The text column exists in your input Parquet file
- If DuckDB conversion fails, check:
- The input Parquet file exists and is readable
- You have write permissions in the output directory
- The Parquet file is not corrupted
- If PostgreSQL conversion fails, check:
- The PostgreSQL connection settings in your
.env
file are correct - The PostgreSQL server is running and accessible
- You have the necessary permissions to create/modify tables
- The pgvector extension is installed in your database
- The PostgreSQL connection settings in your
PostgreSQL Function for Vector Similarity Search
To perform vector similarity searches in PostgreSQL, you can use the following function:
This function allows you to perform similarity searches on vector embeddings stored in a PostgreSQL database, returning results that meet a specified similarity threshold and limiting the number of results based on user input. The results are sorted by date and similarity.
Postgres table creation
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Control Protocol server that provides web search capabilities and similarity search functionality for Claude Desktop, allowing users to perform web searches and extract relevant information from previous search results.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.Last updated -6JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides DuckDuckGo search functionality for Claude, enabling web search capabilities through a clean tool interface with rate limiting support.Last updated -16015TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.Last updated -Python
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.Last updated -8544MIT License