MCP Tool Server — n8n-hosted MCP endpoint exposing Wikipedia, calculator, and weather tools.

MCP Tool Server

n8n-hosted MCP endpoint exposing Wikipedia, calculator, and weather tools.

n8nMCPOpenWeatherMapLangChain

Overview

A Model Context Protocol server built inside n8n so external AI clients can call curated tools — Wikipedia lookup, math via calculator, and live weather by city — through one MCP trigger endpoint.

Problem

AI clients need safe, bounded tools but wiring each integration separately is repetitive. MCP standardizes tool access if the server is easy to host and extend.

Solution

Configured n8n MCP Server Trigger on a dedicated path and attached Wikipedia, Calculator, and OpenWeatherMap as MCP-exposed tools. External agents connect once and invoke tools by name.

Architecture

n8n MCP Trigger node at `/mcp` path with LangChain tool nodes: Wikipedia, Calculator, OpenWeatherMap (city from AI parameter). No custom code server — n8n handles protocol and routing.

Workflow

  1. 01 MCP client connects to n8n MCP endpoint
  2. 02 Client requests a tool by name and parameters
  3. 03 n8n routes to Wikipedia, calculator, or weather node
  4. 04 Tool result returns through MCP response
  5. 05 New tools added by wiring more n8n tool nodes

Results

  • · Standard MCP interface without a custom backend
  • · Three ready tools for demos and client agents
  • · Easy to extend with more n8n integrations
  • · Weather and lookup available to any MCP client

Want something similar?

Let's talk about your project.

Start a project