Skip to main content

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 search
  • rerank_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:

  1. Clone the repository
  2. Create a virtual environment: python -m venv .venv
  3. Activate the virtual environment:
    • Windows: .venv\Scripts\activate
    • Unix/MacOS: source .venv/bin/activate
  4. 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)

Table of built distributions (wheels) for langsearch-mcp 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page