Skip to main content

MCP Foursquare API server

Project description

Python Server for Foursquare API

Getting Started

Prerequisites

Follow getting started steps in the project guide.

Python Environment

Ensure that you're running Python 3.10 or higher.

Next install uv, a fast python project manager:

curl -LsSf https://astral.sh/uv/install.sh | sh

or alternatively if you are on a mac you can install with homebrew

brew install uv

(if you already have it installed, make sure it is up to date)

Clone the Repo

This project currently must be cloned locally and run with uv. Clone using:

git clone git@github.com:foursquare/fsq-ai-mcp.git

Then set up the project:

cd fsq-ai-mcp/fsq-server-python
uv venv
uv sync

Configure MCP

You will need to update the ~/Library/Application\ Support/Claude/claude_desktop_config.json configuration. If the file doesn't exit, you can copy paste claude_desktop_config.json from this folder into Claude.

Based on the example claude_desktop_config.json, update the values with correct local paths and your Service API key and add to claude_desktop_config.json.

  • "command": "/path/to/uv/bin/uv",
  • "args": [...,"/path/to/git/clone/fsq-ai-mcp/fsq-server-python/", ...],
  • "FOURSQUARE_SERVICE_TOKEN": "YOUR FOURSQUARE SERVICE TOKEN"

If the file already exists because you have other local MCP servers, just insert the foursquare sub-object into the existing config.

Run MCP

Open Claude Desktop. You should see a hammer icon appear in the lower right part of the chat input that says "5 MCP tools available" (or more, if you have installed other MCP servers). There should not be any popup dialogs with errors. Verify by clicking on the hammer that 5 tools from server: foursquare are listed as available.

Finally test it out by asking Claude for place recommendations!

hi claude, can you suggest some good coffee shops near Prospect Heights, Brooklyn?

(It will ask you to allow access to running the foursquare tools)

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

iflow_mcp_foursquare_foursquaremcp-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file iflow_mcp_foursquare_foursquaremcp-0.1.2.tar.gz.

File metadata

  • Download URL: iflow_mcp_foursquare_foursquaremcp-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_foursquare_foursquaremcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f9027dae7936d911caa81d45972b619cbbff3a83fa1b8f5b70fda5ae2a710407
MD5 4b6687def83cbdca148664b54d9d28f8
BLAKE2b-256 68cca89b9b1af4c43b9b813955f76eeee78a6fcce838df94723eeb01d53493b3

See more details on using hashes here.

File details

Details for the file iflow_mcp_foursquare_foursquaremcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_foursquare_foursquaremcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_foursquare_foursquaremcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34a7eb10ab44b86158aacbb5e185c9943da79a95d23a525fe58b785582756c7f
MD5 f83efd9c31a73ee60c5f7dfee45a1272
BLAKE2b-256 41d45644aa24aa42c847478b90b0e4ee0cb16b0fd209ecaa826d8d5c4529b56b

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