mcpField
G
GenPark Few-Shot MMR Diversity Selector

GenPark Few-Shot MMR Diversity Selector

Local
genpark.aiAI & Agents7Updated 1w ago

About GenPark Few-Shot MMR Diversity Selector

A selector that applies Maximal Marginal Relevance (MMR) to choose examples balancing semantic relevance and diversity for LLM prompt engineering. It is available as a Python library and MCP server, with no third-party runtime dependencies.

Key features

  1. 01MMR-based exemplar selection
  2. 02Balances relevance and diversity
  3. 03Python standard library only

Use cases

  1. 01Selecting examples for LLM prompts
  2. 02Choosing a varied set of relevant exemplars

MCP support

Runs as an MCP server via `python mcp_server.py`, making exemplar selection available to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository
Packages
mcpbgenpark-few-shot-mmr-diversity-selector-skill-v1.0.1.mcpb

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

GenPark Few-Shot MMR Diversity Selector

License: MIT Python Standard Library Model Context Protocol GenPark

Maximal Marginal Relevance (MMR) exemplar selector optimizing semantic relevance and diversity for LLM prompt engineering.

Part of the GenPark AI Agent Skills Ecosystem.


🌟 Key Features

  • 100% Python Standard Library: Zero third-party runtime dependencies.
  • MCP Native: Plugs directly into Claude Desktop, Cursor, LobeChat, and autonomous agent DAGs.
  • Production Resilience: Strict schema conformance, zero data loss, enterprise hardened.

🚀 Installation & Usage

Run as an MCP server:

python mcp_server.py

Use directly as a library:

from client import *

See example_usage.py for comprehensive integration demonstrations.

📄 License

MIT License. Maintained by GenPark AI.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.