
UseKeen文档
STDIO软件包文档搜索API,支持AI助手
软件包文档搜索API,支持AI助手
MCP Server for the UseKeen Package Documentation Search API, enabling Claude and other AI assistants to discover packages and search their documentation.
usekeen_package_search
query
(string): Search query to find relevant packages (e.g. 'web framework', 'authentication', 'database orm')max_results
(number): Maximum number of packages to return (1-100, default: 10)usekeen_package_doc_search
package_name
(string): Name of the package or service to search documentation for (e.g. 'react', 'aws-s3', 'docker')query
(string): Search term to find specific information within the package/service documentation (e.g. 'file upload example', 'authentication methods')The tools work together to provide a complete package discovery and documentation search experience:
usekeen_package_search
to find packages related to your needsusekeen_package_doc_search
to search within a specific package's documentationExample workflow:
1. Search for packages: usekeen_package_search(query="web framework")
2. Find a relevant package (e.g., "express")
3. Search its documentation: usekeen_package_doc_search(package_name="express", query="middleware")
The easiest way to use this MCP server is via NPX:
npx usekeen-mcp
You can also run the server using Docker:
docker run -e USEKEEN_API_KEY=your_api_key_here mcp/usekeen
For local development or manual installation:
# Clone the repository git clone <repository-url> cd usekeen-mcp # Copy environment file and add your API key cp .env.example .env # Edit .env and add your USEKEEN_API_KEY # Install dependencies npm install # Build and run npm run build npm start
Add the following to your claude_desktop_config.json
:
{ "mcpServers": { "usekeen": { "command": "npx", "args": [ "-y", "usekeen-mcp" ], "env": { "USEKEEN_API_KEY": "your_api_key_here" } } } }
{ "mcpServers": { "usekeen": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "USEKEEN_API_KEY", "mcp/usekeen" ], "env": { "USEKEEN_API_KEY": "your_api_key_here" } } } }
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P
and typing Preferences: Open Settings (JSON)
.
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace. This will allow you to share the configuration with others.
Note that the
mcp
key is not needed in the.vscode/mcp.json
file.
{ "mcp": { "inputs": [ { "type": "promptString", "id": "usekeen_api_key", "description": "UseKeen API Key", "password": true } ], "servers": { "usekeen": { "command": "npx", "args": ["-y", "usekeen-mcp"], "env": { "USEKEEN_API_KEY": "${input:usekeen_api_key}" } } } } }
{ "mcp": { "inputs": [ { "type": "promptString", "id": "usekeen_api_key", "description": "UseKeen API Key", "password": true } ], "servers": { "usekeen": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/usekeen"], "env": { "USEKEEN_API_KEY": "${input:usekeen_api_key}" } } } } }
We provide two helper scripts to make it easier to run the server:
Local Execution:
# Make the script executable (first time only) chmod +x run-local.sh # Run the server locally ./run-local.sh
Docker Execution:
# Make the script executable (first time only) chmod +x run-docker.sh # Run the server in Docker ./run-docker.sh
Both scripts will check for a .env
file containing your USEKEEN_API_KEY
. You can create this file based on the provided .env.example
.
Set the USEKEEN_API_KEY
environment variable and run the server:
# Install dependencies npm install # Build the TypeScript code npm run build # Run the server USEKEEN_API_KEY=your_api_key npm start
Build and run the Docker container with the API key:
# Build the Docker image docker build -t mcp/usekeen . # Run the container docker run -e USEKEEN_API_KEY=your_api_key mcp/usekeen
USEKEEN_API_KEY
: Required. Your UseKeen API key for authentication.If you encounter errors, verify that:
Docker build:
docker build -t mcp/usekeen .
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.