npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@qverisai/mcp

v0.7.0

Published

QVeris MCP server for agent tool discovery, inspection, and calling

Readme

@qverisai/mcp

Official QVeris MCP Server — Dynamically search and execute tools via natural language.

npm version License: MIT

Overview

This SDK provides a Model Context Protocol (MCP) server that enables LLMs to discover and execute third-party tools through the QVeris API. With a small set of tools, your AI assistant can:

  • Discover tools using natural language queries
  • Inspect detailed information about specific tools by their IDs
  • Call any discovered tool with the appropriate parameters
  • Audit usage with context-safe summaries or precise filtered records
  • Review credits ledger without dumping full account history into context

Quick Start

1. Get Your API Key

Visit QVeris (Global) or QVeris (China) to get your API key.

2. Configure Your MCP Client

Use the QVeris CLI to generate config without hand-editing JSON. Placeholder output intentionally fails API key validation until you replace it or use --include-key:

# Print safe config with YOUR_QVERIS_API_KEY placeholder
qveris mcp configure --target cursor

# Write a working config using your resolved API key
qveris mcp configure --target cursor --write --include-key
qveris mcp configure --target claude-desktop --write --include-key
qveris mcp configure --target opencode --write --include-key
qveris mcp configure --target openclaw --write --include-key

# Validate config, or live-probe visible tools for stdio clients
qveris mcp validate --target cursor
qveris mcp validate --target cursor --probe

Add the QVeris server to your MCP client configuration:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "qveris": {
      "command": "npx",
      "args": ["-y", "@qverisai/mcp"],
      "env": {
        "QVERIS_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor (Settings → MCP Servers):

{
  "mcpServers": {
    "qveris": {
      "command": "npx",
      "args": ["-y", "@qverisai/mcp"],
      "env": {
        "QVERIS_API_KEY": "your-api-key-here"
      }
    }
  }
}

3. Start Using

Once configured, You could add this to system prompt:

"You can use qveris MCP Server to dynamically discover and call tools to help the user. First think about what kind of tools might be useful to accomplish the user's task. Then use the discover tool with a query describing the capability of the tool, not what params you want to pass to the tool later. Then call a suitable tool using the call tool, passing parameters through params_to_tool. You could reference the examples given if any for each tool. You may make multiple tool calls in a single response."

Then your AI assistant can discover and call tools:

"Find me a weather tool and get the current weather in Tokyo"

The assistant will:

  1. Call discover with query "weather"
  2. Optionally call inspect to review tool details
  3. Call call with the tool_id and parameters
  4. Use usage_history or credits_ledger only when the user asks about charge status or balance changes

Available Tools

discover

Discover available tools based on natural language queries.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | query | string | ✓ | Natural language description of the capability you need | | limit | number | | Max results to return (1-100, default: 20) | | session_id | string | | Session identifier for tracking (auto-generated if omitted) |

Example:

{
  "query": "send email notification",
  "limit": 10
}

inspect

Inspect tools by their IDs to get detailed information (parameters, success rate, latency, examples, and billing_rule when available).

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | tool_ids | array | ✓ | Array of tool IDs to retrieve (at least one required) | | search_id | string | | Search ID from the discover call that returned the tool(s) | | session_id | string | | Session identifier (auto-generated if omitted) |

Example:

{
  "tool_ids": ["openweathermap.weather.execute.v1", "worldbank_refined.search_indicators.v1"],
  "search_id": "abcd1234-ab12-ab12-ab12-abcdef123456"
}

call

Call a discovered tool with specific parameters.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | tool_id | string | ✓ | Tool ID from discover results | | search_id | string | ✓ | Search ID from the discover call that found this tool | | params_to_tool | object | ✓ | A dictionary of parameters to pass to the tool | | session_id | string | | Session identifier (auto-generated if omitted) | | max_response_size | number | | Max response size in bytes (default: 20480) |

Example:

{
  "tool_id": "openweathermap.weather.execute.v1",
  "search_id": "abcd1234-ab12-ab12-ab12-abcdef123456",
  "params_to_tool": {"city": "London", "units": "metric"}
}

The call response may include compact pre-settlement billing. Final charge status should be checked with usage_history or credits_ledger.

usage_history

Context-safe request-level usage audit. Defaults to aggregated summary mode. Summary mode requests service-side summary=true aggregates when available and falls back to bounded client-side aggregation for older deployments.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | mode | string | | summary, search, or export_file (default: summary) | | start_date | string | | Start date, YYYY-MM-DD | | end_date | string | | End date, YYYY-MM-DD | | bucket | string | | hour, day, or week for summary aggregation | | execution_id | string | | Precise execution lookup | | search_id | string | | Precise search lookup | | charge_outcome | string | | charged, included, failed_not_charged, failed_charged_review | | min_credits | number | | Lower credit amount bound | | max_credits | number | | Upper credit amount bound | | limit | number | | Search row cap, default 10, hard max 50 |

Examples:

{ "mode": "summary", "bucket": "hour" }
{ "mode": "search", "execution_id": "exec-123" }
{ "mode": "search", "min_credits": 30, "max_credits": 100 }

credits_ledger

Context-safe final credit ledger query. Defaults to aggregated summary mode. Summary mode requests service-side summary=true aggregates when available and falls back to bounded client-side aggregation for older deployments.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | mode | string | | summary, search, or export_file (default: summary) | | start_date | string | | Start date, YYYY-MM-DD | | end_date | string | | End date, YYYY-MM-DD | | bucket | string | | hour, day, or week for summary aggregation | | entry_type | string | | Ledger entry type, for example consume_tool_execute | | direction | string | | consume, grant, or any | | min_credits | number | | Lower absolute credit amount bound | | max_credits | number | | Upper absolute credit amount bound | | limit | number | | Search row cap, default 10, hard max 50 |

Examples:

{ "mode": "summary", "bucket": "day" }
{ "mode": "search", "direction": "consume", "min_credits": 50 }

Large result sets should use mode: "export_file". The server writes JSONL under .qveris/exports/ and returns the file path instead of emitting every row into MCP context.

Deprecated tool names

For backward compatibility, the old tool names are still supported but emit a deprecation warning:

| Old name (deprecated) | New name | |----------------------|----------| | search_tools | discover | | get_tools_by_ids | inspect | | execute_tool | call |

Session Management

Providing a consistent session_id in a same user session in any tool call enables:

  • Consistent user tracking across multiple tool calls
  • Better analytics and usage patterns
  • Improved tool recommendations over time

If not provided, the SDK automatically generates and maintains a session ID for the lifetime of the server process. However, this result in a much larger granularity of user sessions.

Response Handling

Successful Execution

{
  "execution_id": "abcd1234-ab12-ab12-ab12-abcdef123456",
  "tool_id": "openweathermap.weather.execute.v1",
  "success": true,
  "result": {
    "data": {
      "temperature": 15.5,
      "humidity": 72,
      "description": "partly cloudy"
    }
  },
  "execution_time": 0.847
}

Large Responses

When tool output exceeds max_response_size, you'll receive:

{
  "result": {
    "message": "Result content is too long...",
    "truncated_content": "[[1678233600000, \"22198.56...",
    "full_content_file_url": "https://..."
  }
}

The full_content_file_url is valid for 120 minutes.

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | QVERIS_API_KEY | ✓ | Your QVeris API key | | QVERIS_REGION | | Force region: global or cn (auto-detected from key prefix if not set) | | QVERIS_BASE_URL | | Override API base URL (highest priority, for custom endpoints) |

Region

Region is auto-detected from your API key prefix — no extra configuration needed.

| Key prefix | Region | API endpoint | |------------|--------|--------------| | sk-xxx | Global | https://qveris.ai/api/v1 | | sk-cn-xxx | China | https://qveris.cn/api/v1 |

To override manually, set environment variables in your MCP client config:

{
  "mcpServers": {
    "qveris": {
      "command": "npx",
      "args": ["-y", "@qverisai/mcp"],
      "env": {
        "QVERIS_API_KEY": "your-api-key",
        "QVERIS_REGION": "cn"
      }
    }
  }
}

Priority: QVERIS_BASE_URL > QVERIS_REGION > API key prefix auto-detection > default (global)

Requirements

Development

# Clone the repository
git clone https://github.com/QVerisAI/qveris-agent-toolkit.git
cd qveris-agent-toolkit/packages/mcp

# Install dependencies
npm install

# Build
npm run build

# Run locally
QVERIS_API_KEY=your-key node dist/index.js

License

MIT © QVerisAI

Support