Skip to main content

Python client and MCP server for the Gildea AI market intelligence API

Project description

Gildea

Python client and MCP server for the Gildea AI market intelligence API.

Gildea tracks 500+ expert sources on AI, decomposes every signal into verified reasoning chains (thesis, arguments, claims, evidence), and serves it through a REST API. This package gives you a Python client and an MCP server so AI assistants can use the data directly.

Install

# Python client only
pip install gildea

# With MCP server
pip install gildea[mcp]

Quick Start

from gildea_sdk import Gildea

client = Gildea(api_key="gld_your_key_here")

# Search verified text units
results = client.search(query="data center infrastructure spending")
for hit in results["data"]:
    print(hit["unit"]["text"])
    print(f"  Source: {hit['citation']['signal_title']} ({hit['citation']['registrable_domain']})")

# Get full signal decomposition with evidence
signal = client.signals.get("signal_id", include="evidence")

# Entity intelligence with trend analytics
entity = client.entities.get("NVIDIA")
print(f"{entity['display_name']}: {entity['direction']}, {entity['scale']} scale, {entity['priority']} priority")

# Cross-source consensus mapping
similar = client.search(similar_to="unit_id")

MCP Server

Use Gildea as a tool in Claude, ChatGPT, Cursor, VS Code, or any MCP-compatible client.

# Run directly
gildea-mcp

# Or via uvx (no install needed)
uvx --from gildea[mcp] gildea-mcp

Set your API key:

export GILDEA_API_KEY=gld_your_key_here

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "gildea": {
      "command": "uvx",
      "args": ["--from", "gildea[mcp]", "gildea-mcp"],
      "env": {
        "GILDEA_API_KEY": "gld_your_key_here"
      }
    }
  }
}

Available MCP Tools

Tool Description
search_text_units Semantic search across verified text units, or vector similarity via similar_to
list_signals Browse signals by entity, theme, date, content type
get_signal_detail Full decomposition: thesis, arguments, claims, evidence
get_entity_profile Entity trend analytics, co-occurrence, theme distribution
list_entities Discover entities by trend direction, priority, scale
get_themes Theme overview across value chain and market force axes
get_theme_detail Single theme trend analytics and cross-theme relationships

API Key

Get your API key at gildea.ai. Free tier includes 5 requests/minute and 200 requests/month.

Documentation

Full API docs at docs.gildea.ai.

License

MIT

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

gildea-0.1.2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

gildea-0.1.2-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gildea-0.1.2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gildea-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a88770bf6c726591a8a00e46256c0c683751b5b4cff10dde347b2c9382c8e273
MD5 cd90d3450c27ca967a2ea0283dd38b82
BLAKE2b-256 01aab95811bfa9b3192e9af74524aa5c41446f01d80648b5b4ad6dc7a4fcd0d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gildea-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gildea-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8bab649b194fdaf7d868a28973b7bb838bd9441b11f3a81fda2748818c796d
MD5 5cc9de761b07763a4dacb533ade61066
BLAKE2b-256 e7655d4229d78f553c1ac959337e51beb0568358a11db9aa2f58a40fc2ead04c

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