Foursquare Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Foursquare Mcp (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP server that exposes Foursquare/Swarm checkin data and user activity through 13 tools. Built with FastMCP, it supports stdio and HTTP transports.
cd foursquare_mcp
uv syncOr with pip:
pip install -e .Option A — Interactive OAuth flow:
Create a .env file with your Foursquare app credentials (see .env.example):
FOURSQUARE_CLIENT_ID=your_client_id
FOURSQUARE_CLIENT_SECRET=your_client_secretThen run the setup command:
foursquare-mcp setup --username aliceThis opens a browser-based OAuth flow and saves the token automatically.
Option B — Manual token:
If you already have an OAuth token:
foursquare-mcp add-user --username alice --token YOUR_OAUTH_TOKENTokens are stored in ~/.config/foursquare-mcp/users.json.
stdio (default, for local MCP clients):
foursquare-mcp serveHTTP (for remote or shared access):
foursquare-mcp serve --transport streamable-http --host 0.0.0.0 --port 8006Add to your MCP client config (e.g. .mcp.json):
stdio:
{
"mcpServers": {
"foursquare": {
"command": "foursquare-mcp",
"args": ["serve"]
}
}
}Streamable HTTP:
{
"mcpServers": {
"foursquare": {
"type": "streamable-http",
"url": "http://localhost:8006/mcp"
}
}
}| Tool | Description |
|---|---|
list_users | List all registered Foursquare usernames |
add_user | Register a user's OAuth token |
remove_user | Remove a registered user |
get_user_details | Get a user's Foursquare profile |
| Tool | Description |
|---|---|
get_user_checkins | Get checkins with optional date range and limit |
get_checkin_detail | Get full detail for a single checkin (comments, photos, overlaps) |
search_all_users_checkins | Search checkins across all registered users |
| Tool | Description |
|---|---|
get_venue_details | Get full venue info by venue ID |
get_user_venue_history | Get unique venues visited with visit counts and timestamps |
| Tool | Description |
|---|---|
get_user_mayorships | Get venues where the user is currently mayor |
get_user_lists | Get all lists (saved, created, followed) |
get_list_detail | Get full list detail with all venue items |
get_user_tastes | Get taste preferences (food types, experiences) |
foursquare-mcp serve Start the MCP server
foursquare-mcp setup Authenticate via OAuth and save token
foursquare-mcp add-user Register a token manually
foursquare-mcp remove-user Remove a registered user
foursquare-mcp list-users List registered usersRun foursquare-mcp --help for full option details.
# ~/.config/systemd/user/foursquare-mcp.service
[Unit]
Description=Foursquare MCP Server
[Service]
WorkingDirectory=/path/to/foursquare_mcp
ExecStart=/path/to/uv run foursquare-mcp serve --transport streamable-http --host 0.0.0.0 --port 8006
Restart=on-failure
[Install]
WantedBy=default.targetsystemctl --user daemon-reload
systemctl --user enable --now foursquare-mcp~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.