AWO MCP Server

AWO MCP Server

Exposes processed AWO facility, address, service, and provider datasets to AI assistants. Enables natural-language queries for counting, searching, detailing, comparing, and analyzing facilities.

Category
访问服务器

README

AWO MCP Server

MCP (Model Context Protocol) server that exposes processed AWO facility data to AI assistants like Claude Desktop.

Overview

This MCP server provides a standardized interface between AI assistants and AWO organizational data. It enables natural language queries about AWO facilities, services, and statistics.

Data Source: Processed AWO datasets (facilities, addresses, services, providers)

Status: ✅ Production-ready


Architecture

User
  │
Claude Desktop
  │
MCP Server (this repo)
  │
Processed AWO Data (CSV)

Features

Available Tools

Tool Description Example
count_facilities(city) Count facilities in a city "How many AWO facilities are in Berlin?"
search_facilities(city) List all facilities in a city "Show me all AWO facilities in Berlin"
get_facility_details(name) Get detailed info about a facility "Tell me about AWO Sozialstation Wedding"
search_services(query) Search for services by keyword "Find addiction services"
generate_statistics() Get data statistics "Show me statistics about AWO facilities"
check_completeness() Check data quality "Check data completeness for AWO records"
detect_duplicates() Find duplicate records "Are there duplicates in the AWO data?"
compare_facilities(f1, f2) Compare two facilities "Compare AWO Mitte and AWO Spree-Wuhle"

Installation

1. Clone the Repository

git clone https://github.com/YOUR_USERNAME/awo-mcp-production.git
cd awo-mcp-production

2. Create and Activate Conda Environment

conda create -n awo-mcp python=3.11
conda activate awo-mcp

3. Install Dependencies

pip install -r requirements.txt

4. Verify Data Files

Ensure the following CSV files exist in the data/ directory:

  • einrichtungSchema.csv - Facilities
  • adresseSchema.csv - Addresses
  • angebotSchema.csv - Services
  • traegerSchema.csv - Providers

Running the Server

Start the MCP server:

python server.py

The server will start and wait for MCP requests. Leave this terminal running.


Connecting to Claude Desktop

Step 1: Install Claude Desktop

Download from Claude Desktop.

Note: No Claude subscription is required for MCP server integration.

Step 2: Configure MCP Server

  1. Open Claude Desktop.
  2. Go to Settings → Developer → Local MCP Servers → Edit Config.
  3. Add the following configuration:
{
  "mcpServers": {
    "awo": {
      "command": "C:\\Users\\<YOUR_USERNAME>\\miniconda3\\envs\\awo-mcp\\python.exe",
      "args": [
        "D:\\path\\to\\awo-mcp-production\\server.py"
      ]
    }
  }
}

Step 3: Restart Claude Desktop

Save the configuration and restart Claude Desktop completely.

The MCP server should appear under Settings → Developer → Local MCP Servers with a green status.


Example Queries

Once connected, try asking Claude:

Count Facilities

"How many AWO facilities are in Berlin?"

Search by City

"Show me all AWO facilities in Berlin with their addresses"

Get Facility Details

"Tell me about AWO Sozialstation Wedding"

Search Services

"Find AWO services related to addiction counseling"

Get Statistics

"Show me statistics about AWO facilities"

Data Quality

"Check data completeness for AWO records"

Find Duplicates

"Are there any duplicates in the AWO datasets?"

Compare Facilities

"Compare AWO Mitte and AWO Spree-Wuhle"


Data Overview

The server uses four CSV datasets:

Dataset Description Count
einrichtungSchema.csv AWO facilities 168
adresseSchema.csv Addresses 108
angebotSchema.csv Services 99
traegerSchema.csv Providers/Organizations 4

File Structure

awo-mcp-production/
├── data/                      # CSV datasets
│   ├── einrichtungSchema.csv
│   ├── adresseSchema.csv
│   ├── angebotSchema.csv
│   └── traegerSchema.csv
├── src/                       # Core modules
│   ├── data_loader.py
│   └── data_repository.py
├── server.py                  # MCP server
├── requirements.txt
└── README.md

Testing

Test the Server

python -c "from server import mcp; print('✅ Server loaded successfully')"

Run the Client (Optional)

If you have client.py for interactive testing:

python client.py

Deployment

Local Development

  • Run python server.py directly.
  • Connect Claude Desktop to the local server.

Cloud Deployment

  • Deploy to a cloud VM or container.
  • Configure Claude Desktop to use a remote endpoint when supported.

Troubleshooting

Server Not Showing in Claude Desktop

  • Check the JSON syntax in the configuration file.
  • Make sure there are no trailing commas.
  • Verify that the Python path exists.
  • Check Claude logs at:
%APPDATA%\Claude\logs\mcp*.log

Server Fails to Start

  • Ensure all dependencies are installed.
  • Verify the data/ folder exists with the required CSV files.
  • Run the server manually to see any errors:
python server.py

License

MIT License


Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit your changes.
  4. Push to the branch.
  5. Open a Pull Request.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选