Analytics.Usa.Gov Server
FreeNot checkedEnables LLMs to query and analyze government website analytics from analytics.usa.gov via the Model Context Protocol, supporting single report, multiple reports
About
Enables LLMs to query and analyze government website analytics from analytics.usa.gov via the Model Context Protocol, supporting single report, multiple reports, and aggregation tools.
README
⚠️ DISCLAIMER: This is a proof of concept and is not intended for production use.
Demo MCP Server for AI Community Of Practice
Overview
This project is a demonstration Model Context Protocol (MCP) server for analytics.usa.gov data, designed to showcase how LLMs can interact with government analytics APIs using the MCP standard. The codebase is structured to start simple and build up in capability:
- single_report_tool: Provides basic access to a single analytics report at a time, ideal for simple queries and initial integration.
- multiple_reports_tools: Adds support for fetching and handling multiple reports, allowing more complex queries and comparisons.
- aggregation_tools: Enables aggregation of analytics data over time periods (week, month, year) and by various dimensions (such as source or agency), supporting more advanced analytics and summarization.
Each tool is registered with the MCP server and can be called by an LLM or other MCP-compatible client. The project is intended as a learning and experimentation platform for building and extending MCP-based analytics APIs.
Quick Start (Recommended)
Option 1: Install via uv
uv tool install git+https://github.com/GSA-TTS/usdc-arc-mcp-demo/
This will install the MCP server as a CLI tool. You can then run:
usdc-arc-mcp-demo
Simple way to connect to Claude
Get the installed tool path:
which usdc-arc-mcp-demoCopy the path into Claude MCP config:
{ "mcpServers": { "usdc-arc-mcp-demo": { "command": "/path/to/usdc-arc-mcp-demo", "args": [], "env": { "DAP_API_KEY": "your-api-key" } } } }
Development Setup
Option 2: Using Hatch or uv
Using Hatch
- Install Hatch:
pip install hatch - Create a virtual environment and install dependencies:
hatch env create - Run the server:
Or:hatch run usdc-arc-mcp-demohatch shell usdc-arc-mcp-demo
Using uv
- Install uv:
pip install uv - Install dependencies:
Or, for PEP 621 projects:uv pip install -r requirements.txtuv pip install -e . - Run the server:
usdc-arc-mcp-demo
Configuration
Set your Regulations.gov API key in a .env file:
DAP_API_KEY=your_api_key_here
Project Structure
src/usdc_arc_mcp_demo/– Main package codetest/– Tests
Linting
This project uses ruff for linting and code style checks.
To lint your code, run:
hatch run ruff check src/
Or:
hatch shell
ruff check src/
Resources
Install Analytics.Usa.Gov Server in Claude Desktop, Claude Code & Cursor
unyly install analytics-usa-gov-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add analytics-usa-gov-mcp-server -- uvx --from git+https://github.com/GSA-TTS/usdc-arc-mcp-demo usdc-arc-mcp-demoFAQ
Is Analytics.Usa.Gov Server MCP free?
Yes, Analytics.Usa.Gov Server MCP is free — one-click install via Unyly at no cost.
Does Analytics.Usa.Gov Server need an API key?
No, Analytics.Usa.Gov Server runs without API keys or environment variables.
Is Analytics.Usa.Gov Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Analytics.Usa.Gov Server in Claude Desktop, Claude Code or Cursor?
Open Analytics.Usa.Gov Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Analytics.Usa.Gov Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
