MuckRock MCP Server

by morisy

176 downloads
Not rated
GitHub

About

Highly experimental, insecure, and unstable MuckRock FOIA MCP Server with 20+ tools for filing, tracking, and managing Freedom of Information Act requests

Details

Author
morisy
Downloads
176
Categories
Other

- Search FOIA requests and government agencies
- File new FOIA requests with auto organization selection
- Track status of submitted requests
- Manage organizations for filing requests
- Check authentication status
- View user info and organization details

Install with pip install -r requirements.txt, then configure in the Claude Desktop config file (claude_desktop_config.json) by pointing the command to Python and the script path. On startup the server will prompt for MuckRock credentials, or you can set the environment variables MUCKROCK_USERNAME and MUCKROCK_PASSWORD.

MuckRock MCP Server

A Model Context Protocol (MCP) server for interacting with MuckRock's FOIA platform.

Installation

pip install -r requirements.txt

Configuration

Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "muckrock": {
      "command": "/path/to/python",
      "args": ["/path/to/muckrock_server.py"]
    }
  }
}

Authentication

The server will prompt for MuckRock credentials on startup. You can also set environment variables:

export MUCKROCK_USERNAME="your_username"
export MUCKROCK_PASSWORD="your_password"

Features

- Search - Search FOIA requests and government agencies
- File Requests - File new FOIA requests with automatic organization selection
- Track Requests - View your submitted requests and their status
- Organizations - Manage which organization to file under

Usage

Once configured, use natural language in Claude:

- "Search for EPA FOIA requests"
- "File a FOIA request for police records"
- "Show my pending requests"
- "What organizations can I file under?"

Tools Available

- check_auth_status - Check authentication status
- search_foia_requests - Search public FOIA requests
- search_agencies - Find government agencies
- get_foia_details - Get request details
- get_my_user_info - View your user info
- get_my_organizations - List your organizations
- file_foia_request_simple - File new FOIA requests

Notes

- Always test with test agencies first (ID: 248)
- Authentication tokens are automatically refreshed
- This is experimental software - use at your own risk

Documentation

See the docs/ folder for detailed guides on authentication, deployment, and use cases.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.