
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
server-yelp-fusionai
Advanced tools
Model Context Protocol (MCP) server for Yelp Fusion API - enables AI agents to interact with Yelp's business data and services
This package provides an MCP (Model Context Protocol) server that enables natural language communication between Claude and the Yelp Fusion API. Use natural language to search for businesses, read reviews, find events, and more—directly through Claude Desktop.
Simply ask Claude questions like:
npm install server-yelp-fusionai
Before setting up the server, you'll need to obtain API credentials from Yelp:
Create a Yelp Developer Account:
Create a New App:
Get Your API Key:
Install the Package:
npm install server-yelp-fusionai
Create a Basic Server File (e.g., yelp-server.js
):
require('dotenv').config();
const { startServer } = require('server-yelp-fusionai');
// Start the server on port 3000 (or any port you prefer)
startServer(3000).then(() => {
console.log('Yelp Fusion MCP server is running on port 3000');
});
Create a .env
File with your Yelp API credentials:
YELP_API_KEY=your_api_key_here
YELP_CLIENT_ID=your_client_id_here # Optional for most operations
Run the Server:
node yelp-server.js
Connect with Claude Desktop:
http://localhost:3000/mcp
Start Asking Questions:
const { createServer } = require('server-yelp-fusionai');
// Create a server with custom options
const server = createServer({
enableDynamicToolsets: true, // Enable or disable dynamic toolset discovery
disabledToolsets: ['advertising', 'waitlist'] // Disable specific toolsets
});
// Add your own custom middleware or configuration
// ...
// Start the server when ready
server.listen(3000, () => {
console.log('Custom Yelp Fusion MCP server running on port 3000');
});
When running the server directly, you can use these command-line options:
# Enable dynamic toolset discovery (default)
node yelp-server.js --enable-dynamic-toolsets
# Disable dynamic toolset discovery
node yelp-server.js --disable-dynamic-toolsets
# Disable specific toolsets
node yelp-server.js --disabled-toolsets advertising,waitlist
# Show help message
node yelp-server.js --help
You can also configure the server using environment variables:
# Required
YELP_API_KEY=your_api_key_here
# Optional
YELP_CLIENT_ID=your_client_id_here
YELP_ENABLE_DYNAMIC_TOOLSETS=false
YELP_DISABLED_TOOLSETS=advertising,waitlist
The MCP server exposes several tools for interacting with the Yelp Fusion API:
yelpQuery Natural language search using Yelp's AI API
{
"query": "Find pizza places in Chicago"
}
yelpBusinessSearch Parameter-based business search
{
"term": "coffee",
"location": "San Francisco, CA",
"price": "1,2",
"open_now": true
}
yelpBusinessDetails Get detailed information about a specific business
{
"id": "WavvLdfdP6g8aZTtbBQHTw"
}
See the full API documentation for details on all available tools and their parameters.
Error: "Yelp API key is not configured"
Ensure your .env
file contains the YELP_API_KEY
variable and is in the same directory as your server script.
Error: "Authentication failed: Invalid API key" Verify your API key is correct and hasn't expired. You can check it in the Yelp Developer Dashboard.
Claude can't connect to the server
Ensure the server is running and the URL in Claude Desktop is correct (http://localhost:3000/mcp
).
Request timed out The Yelp API might be experiencing high traffic. Try again later or check your network connection.
--enable-dynamic-toolsets
to ensure all toolsets are loaded.npm test
npm run build
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT
glassBead for Waldzell AI
FAQs
Model Context Protocol (MCP) server for Yelp Fusion API - enables AI agents to interact with Yelp's business data and services
The npm package server-yelp-fusionai receives a total of 5 weekly downloads. As such, server-yelp-fusionai popularity was classified as not popular.
We found that server-yelp-fusionai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.