Skip to main content

MCP server for BizChat Gov Cloud quality evaluation data

Project description

GC-Eval MCP Server

A manifest-driven MCP server that exposes BizChat Gov Cloud quality evaluation data to any MCP-compatible client (e.g., Copilot CLI).

No repo access required. Install once, always up-to-date — data is fetched from a hosted endpoint at runtime.

Quick Start (for consumers)

pip install gc-eval-mcp

Add to .copilot/mcp.json in any project:

{
  "mcpServers": {
    "GC-Eval": {
      "command": "gc-eval-mcp"
    }
  }
}

Done. Restart Copilot CLI and the tools are available.

How It Works

┌─────────────────────────────────────┐
│  Hosted Data (GitHub Pages / Blob)  │
│  manifest.json → describes datasets │
│  ├── HTML reports                   │
│  ├── JSON files                     │
│  ├── Markdown docs                  │
│  └── SQLite databases               │
└──────────────┬──────────────────────┘
               │ fetched at runtime
┌──────────────▼──────────────────────┐
│  GC-Eval MCP Server (local)         │
│  Reads manifest → registers tools   │
│  Caches data locally (~/.cache/)    │
└──────────────┬──────────────────────┘
               │ MCP protocol
┌──────────────▼──────────────────────┐
│  Copilot CLI / Any MCP Client       │
└─────────────────────────────────────┘

Available Tools

Always available (static)

Tool Description
get_status Server status, manifest info, errors
list_datasets All available datasets
refresh_cache Clear cache and re-fetch manifest

Registered per dataset (dynamic, from manifest)

Dataset Type Tools Generated
html-collection list_{prefix}, get_{prefix}_report, get_{prefix}_certification, search_{prefix}
markdown get_{prefix}
json get_{prefix}, query_{prefix}
sqlite query_{prefix}, describe_{prefix}

Default tools (from example manifest)

Tool Description
list_metrics List all 23 scorecard metrics with certification
get_metrics_report(item_id) Full HTML research report for a metric
get_metrics_certification(item_id) Certification details (L1/L2/L3)
search_metrics(query) Search metrics by ID or metadata
get_scorecard Gov Cloud Scorecard markdown
get_certifications Full certifications JSON
query_certifications(key_path) Query certifications by dot-path

Configuration

Env Variable Default Description
GC_EVAL_MANIFEST_URL https://gim-home.github.io/gc-eval-data/manifest.json Where to fetch the manifest
GC_EVAL_CACHE_DIR ~/.cache/gc-eval-mcp Local cache directory
GC_EVAL_CACHE_TTL 3600 (1 hour) Cache TTL in seconds
GC_EVAL_MAX_DOWNLOAD_MB 50 Max file download size

Adding New Data (for maintainers)

To expose new data through the MCP, update the manifest — no server code changes needed:

{
  "id": "my-new-data",
  "type": "sqlite",
  "tool_prefix": "my_data",
  "path": "data/my_new_data.db",
  "description": "My new dataset"
}

Supported types: html-collection, markdown, json, sqlite.

Upload the data file to the hosted endpoint, add the entry to manifest.json, and all MCP users instantly have access.

Development

cd mcp-server
pip install -e .
gc-eval-mcp

Or run directly:

python -m gc_eval_mcp

Manifest Schema

See manifest.json for the full example. Key fields:

{
  "schema_version": "1.0",
  "data_version": "2026-05-07",
  "base_url": "https://your-host.com/data/",
  "datasets": [
    {
      "id": "unique-id",
      "type": "html-collection|markdown|json|sqlite",
      "tool_prefix": "valid_python_identifier",
      "path": "relative/path/to/data",
      "index": "optional/index.json",
      "description": "Human-readable description"
    }
  ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gc_eval_mcp-1.1.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gc_eval_mcp-1.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file gc_eval_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: gc_eval_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gc_eval_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 840962784d6333d6f2bc4fe06225b1c4ab85b9fa0e1ff22a7e6570f5e8a84c5a
MD5 0231bcbc7463f3d9d72ff99965d8f92f
BLAKE2b-256 1ad45a949f3428699b4715b6f23421865d4088c6fa00647a45d086767ef77159

See more details on using hashes here.

File details

Details for the file gc_eval_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: gc_eval_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gc_eval_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39a3466d8c2f79899b9c760f96f6345027c0a7394c74436c2eb3ada1232bf83d
MD5 cd13bfdaf627e602c7242c4e737c3043
BLAKE2b-256 4573b9899f99d465d101f4ee0dff4edda093b040ec9be6ecf173ae8a9c7b2f48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page