LangSearch MCP
A language-based search MCP server that provides semantic search and document reranking capabilities.
Features
- Semantic web search
- Document reranking based on relevance
- Easy integration with MCP clients like Cherry Studio
Installation
You can install the package using pip:
pip install langsearch-mcp
Or install from source:
git clone https://github.com/yourusername/langsearch-mcp
cd langsearch-mcp
pip install .
Usage
As a Command Line Tool
After installation, you can run the MCP server directly from the command line:
langsearch-mcp
As an MCP Server
The server can be used with any MCP client, including Cherry Studio. The server provides the following endpoints:
web_search: Perform semantic web searchrerank_documents: Rerank documents based on relevance to a query
Configuration
The server can be configured using environment variables:
PORT: The port to run the server on (default: 8000)- Add any other environment variables your server uses
Development
To set up the development environment:
- Clone the repository
- Create a virtual environment:
python -m venv .venv - Activate the virtual environment:
- Windows:
.venv\Scripts\activate - Unix/MacOS:
source .venv/bin/activate
- Windows:
- Install dependencies:
pip install -e ".[dev]"
License
MIT License
Release files for langsearch-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langsearch_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / langsearch_mcp-0.1.1-py3-none-any.whl
| Download URL | langsearch_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82eaf6ae6225cbd78a783c5efe21aebce2de1bb410d5d282e8f91c54d7585455
|
|
BLAKE2b-256 checksum How to use checksums |
fe64dfac3d2ab6ca20e51be9246bcabc343ea437d2813e28ed216e7a5e38fd52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|