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.0.0.tar.gz (13.8 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.0.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gc_eval_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 13.8 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.0.0.tar.gz
Algorithm Hash digest
SHA256 d9e01f2976f238d214081f430083e2ff002fe8aa508b17a2aa86566be1577a64
MD5 b267702df6665f8b41501948017d708d
BLAKE2b-256 7b595777cf209872f3d1ee4470c962711b90104528021a67cd8d4bec596a9a66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gc_eval_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c86c9b0fb5d209c8c80cb27c1f7fffcda63bb916831fd9113bc2c3eb0950704
MD5 b4a13314db730d89da784ee15240d608
BLAKE2b-256 19f7b98b97ee01a2d518026fcbbd4d59472372f54a4a54b50f53b11df714b9d7

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